Try using the character entity reference for '#': '#' (including the
semi-colon, but without the single quotes), and try finding some
documentation on url encoding.

You might also want to look at the URLEncoder class in the java.net package.

----- Original Message -----
From: Aravind Kumar LNS <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Wednesday, December 20, 2000 5:09 AM
Subject: Url containing # data


> How to pass a string data that contains "#" chars across different jsp
> pages(ie as part of URL or hiddenfields that are set into the bean)
> I am facing the following problem:-
> Anydata after # char is ignored when the URL is framed in the current
> page  and sent across to the target page
>
> Any pointers towards this is welcome.
>
> Thanx
> Aravind Kumar
>
>
===========================================================================
> To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff
JSP-INTEREST".
> For digest: mailto [EMAIL PROTECTED] with body: "set JSP-INTEREST
DIGEST".
> Some relevant FAQs on JSP/Servlets can be found at:
>
>  http://java.sun.com/products/jsp/faq.html
>  http://www.esperanto.org.nz/jsp/jspfaq.html
>  http://www.jguru.com/jguru/faq/faqpage.jsp?name=JSP
>  http://www.jguru.com/jguru/faq/faqpage.jsp?name=Servlets
>

===========================================================================
To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff JSP-INTEREST".
For digest: mailto [EMAIL PROTECTED] with body: "set JSP-INTEREST DIGEST".
Some relevant FAQs on JSP/Servlets can be found at:

 http://java.sun.com/products/jsp/faq.html
 http://www.esperanto.org.nz/jsp/jspfaq.html
 http://www.jguru.com/jguru/faq/faqpage.jsp?name=JSP
 http://www.jguru.com/jguru/faq/faqpage.jsp?name=Servlets

Reply via email to