struts-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "GU,JAMES (HP-Corvallis,ex1)" <james...@hp.com>
Subject RE: can %25 be in query string parameter name?
Date Fri, 02 Feb 2001 17:52:15 GMT
Did you try encode/decode utility from java.net.URLEncoder?

-----Original Message-----
From: xinxin Liu [mailto:liuxinxx@yahoo.com]
Sent: Friday, February 02, 2001 9:33 AM
To: struts-user@jakarta.apache.org
Subject: can %25 be in query string parameter name?


Hi, I am really sorry for my previous Email. I didn't put my question there.
Thanks! I have a query string which has a parameter named as: file%name. So
after URL encoding, it is encoded as: file%25name. And I found it will break
strus action class. It gives me the following error:
javax.servlet.jsp.JspException at
org.apache.struts.taglib.template.InsertTag.doEndTag(InsertTag.java:133) at
_0002fhome_0002ejsphome_jsp_0._jspService(_0002fhome_0002ejsphome_jsp_0.java:106
) at org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:126) at
javax.servlet.http.HttpServlet.service(HttpServlet.java:853) at
org.apache.jasper.runtime.JspServlet$JspServletWrapper.service(JspServlet.java:1
74) at org.apache.jasper.runtime.JspServlet.serviceJspFile(JspServlet.java:268)
at org.apache.jasper.runtime.JspServlet.service(JspServlet.java:381) at
com.broadvision.commerce.servlet.MRJspServlet.service(MRJspServlet.java:98) at
javax.servlet.http.HttpServlet.service(HttpServlet.java:853) at
com.broadvision.servlet.ServletContainer.service(ServletContainer.java:209) at
com.broadvision.servlet.BVRequestDispatcher.forward(BVRequestDispatcher.java:130
) at
org.apache.struts.action.ActionServlet.processActionPerform(ActionServlet.java:1
479) at org.apache.struts.action.ActionServlet.process(ActionServlet.java:1338)
at org.apache.struts.action.ActionServlet.doGet(ActionServlet.java:430) at
javax.servlet.http.HttpServlet.service(HttpServlet.java:740) at
javax.servlet.http.HttpServlet.service(HttpServlet.java:853) at
com.broadvision.servlet.ServletContainer.service(ServletContainer.java:209) at
com.broadvision.servlet.ServletContainer.processRequest(ServletContainer.java:16
6) at
com.broadvision.servlet.ServletContextContainer.processRequest(ServletContextCon
tainer.java:503) at
com.broadvision.servlet.BVServletEngine.service(BVServletEngine.java:201) at
com.broadvision.servlet.BVServletConnector.service(BVServletConnector.java:96)
Could anybody tell me where the problem comes from? And any suggestions? Thanks!
Xin Liu 




  _____  

Do You Yahoo!?
- Get personalized email addresses from Yahoo! Mail Personal Address
<http://personal.mail.yahoo.com/>  - only $35 a year!


Mime
View raw message