My guess is that method="get" in your form. # is one of those symbols that
need to be URLencoded when passed this way. You need to do something like
this:
<input type=text value="<%=java.net.URLEncoder.encode(id)%>">
Don't forget to import this class.
Clyde Danganan
-----Original Message-----
From: Wang, Jianming [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, January 31, 2001 11:40 AM
To: [EMAIL PROTECTED]
Subject: String has been trancated.
Hello, everybody.
We encounter a problem: we use "FORM" to send data back to tomcat. one of
the values in the FORM has the format like this: id=AB12#DD. At server
side, we use request.getParameter(id) to get the value. The value we get
back, however, is AB12. The rest of content (after # sign) has been
trancated. We also tried to use id="AB12#DD" and result is the same. The
trancation only happens with the "#" sign. Can any guru help?
Thanks in advance.
Jianming Wang
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, email: [EMAIL PROTECTED]
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, email: [EMAIL PROTECTED]