jrthor2
04-13-2005, 10:39 AM
I have a site where we are setting the page title dynamically through a variable 'title'. In our jsp page, we are importing our header information and passing it the title of our pages. The problem we have, is that pages with a space in the title show up as "Customer+Profile". Our header file is just another jsp file that gets the title from the querystring. Here is the code for our header file:
<head>
<title>
xxx.com : <request:queryString name="title" />
</title>
Here is the code on our jsp page that sets the page title:
<c:import url="template/header.jsp">
<c:param name="title" value="Customer Profile"/>
</c:import>
How can I show the space, and not the +?
Thanks
<head>
<title>
xxx.com : <request:queryString name="title" />
</title>
Here is the code on our jsp page that sets the page title:
<c:import url="template/header.jsp">
<c:param name="title" value="Customer Profile"/>
</c:import>
How can I show the space, and not the +?
Thanks