The '%' in a URL would need to be escaped, i.e.: http://localhost:8080/servlet/SnoopServlet?parm=%25
It is a bug in Tomcat 3.2.3 that http://localhost:8080/servlet/SnoopServlet?parm=% works. Unfortunately this URL throws an exception in Tomcat 3.3. I'll try to fix this for Tomcat 3.3.1. Note: Setting <DecodeInterceptor ... safe="false" /> would not impact query parameters. Only the request URI is checked for "unsafe" encodings. I would recommend keeping safe="true". Cheers, Larry > -----Original Message----- > From: Laurent Michenaud [mailto:[EMAIL PROTECTED]] > Sent: Wednesday, December 05, 2001 6:10 AM > To: [EMAIL PROTECTED] > Subject: % in url > > > When i want to get a parameter from an url and the parameter value is > "%", the > getParameter("variablename") in my jsp page returns null. > > It was working with Tomcat-3.2.3 but not with Tomcat-3.3. > > It got that in my server.xml : > <DecodeInterceptor > useSessionEncoding="true" > defaultEncoding="ISO-8859-1" > charsetAttribute="charset" > normalize="true" > safe="false" > /> > > What's the problem ? > > > > > Michenaud Laurent > - Adeuza - > [ D�veloppeur Web - Administrateur R�seau ] > > > -- > To unsubscribe: <mailto:[EMAIL PROTECTED]> > For additional commands: <mailto:[EMAIL PROTECTED]> > Troubles with the list: <mailto:[EMAIL PROTECTED]> > -- To unsubscribe: <mailto:[EMAIL PROTECTED]> For additional commands: <mailto:[EMAIL PROTECTED]> Troubles with the list: <mailto:[EMAIL PROTECTED]>
