Skip to Main Content

title issue in jsp

708544Mar 30 2012 — edited Mar 30 2012
I am writing html code in JSP. My jsp includes only below two lines.

<jsp:useBean id="htmlCodeString" class="java.lang.String" scope="request" />
<%=htmlCodeString%>

htmlCodeString is html code being generated in java code and includes all the html tags.
I have included <title> tag inside the <head> tag as well while generating htmlCodeString. But the the problem is it is not displaying title as set instead displaying url only. But if I see the view source of the same it shows the title.
Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked due to inactivity on Apr 27 2012
Added on Mar 30 2012
3 comments
486 views