title issue in jsp
708544Mar 30 2012 — edited Mar 30 2012I 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.