Probelm in JSP with (& and # symbols)

Reply

Join Date: May 2005
Posts: 21
Reputation: hemanth.balaji is an unknown quantity at this point 
Solved Threads: 0
hemanth.balaji hemanth.balaji is offline Offline
Newbie Poster

Probelm in JSP with (& and # symbols)

 
0
  #1
Dec 29th, 2005
I have a href in my JSP....

say page1.jsp
---------------

<a href="<%=response.encodeURL(FRONT + "/RemoveReport?reportTemplateName=Test123#&'")%>">

In my second JSP
------------------

I have

String reportTemplateName1 = request.getParameter("reportTemplateName");

Now what is getting stored in reportTemplateName1 when i an printing is Test123.

I am also trying to pass Test123#&amp;' and then also its not working... Giving some other string ... How do i get the whole "Test123#&'" on to the second JSP Page...
Reply With Quote Quick reply to this message  
Reply

This thread is more than three months old.
Perhaps start a new thread instead?
Message:


Thread Tools Search this Thread



About Us | Contact Us | Advertise | DaniWeb | Acceptable Use Policy | RSS Feed

©2003 - 2009 DaniWeb® LLC