Home >Web Front-end >HTML Tutorial >How to convert string into html code_html/css_WEB-ITnose

How to convert string into html code_html/css_WEB-ITnose

WBOY
WBOYOriginal
2016-06-24 12:18:591442browse

html jsp string

I pass the string String str="Homepage" from the background to the jsp page
The jsp page uses Received, the displayed result is: Homepage.
How to convert the html code in the string into normal html code, and finally The result should be a hyperlink to: Home Page.

Reply to the discussion (solution)

Did LZ assign the value of str to a text box?

Yes, how should I do it?

Statement:
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn