hi all,
i am getinga really werid IOexception which i have never encountered before.i am using tomcat for my servlets.
The request parameters are send thru the browser
.when my parameter values contans spaces the browser successfully converts them to %20 and appropriate messages are displayed..
but when i try to test by passing '%%abc' (example value: note it explicitly contains %)
it throws CharConversionException.
I tried to catch this in the service method of my servelt, but it says that this method is never thrown in my code body
i get the follwoing error stck
java.io.CharConversionException: isHexDigit
at org.apache.tomcat.util.buf.UDecoder.convert(Unknown Source)
at org.apache.tomcat.util.http.Parameters.processParameters(Unknown Source)
at org.apache.tomcat.util.http.Parameters.processParameters(Unknown Source)
at org.apache.tomcat.util.http.Parameters.handleQueryParameters(Unknown Source)
at org.apache.tomcat.core.Request.handleQueryParameters(Unknown Source)
at org.apache.tomcat.facade.HttpServletRequestFacade.getParameter(Unknown Source)
at com.myzus.mobilebd.servlets.AirTel.service(AirTel.java, Compiled Code)
at javax.servlet.http.HttpServlet.service(HttpServlet.java, Compiled Code)
at org.apache.tomcat.facade.ServletHandler.doService(Unknown Source)
at org.apache.tomcat.core.Handler.invoke(Unknown Source)
at org.apache.tomcat.core.Handler.service(Unknown Source)
at org.apache.tomcat.facade.ServletHandler.service(Unknown Source)
at org.apache.tomcat.core.ContextManager.internalService(Unknown Source)
at org.apache.tomcat.core.ContextManager.service(Unknown Source)
at org.apache.tomcat.modules.server.Ajp12Interceptor.processConnection(Unknown Source)
at org.apache.tomcat.util.net.TcpWorkerThread.runIt(Unknown Source)
at org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(Unknown Source)
at java.lang.Thread.run(Thread.java, Compiled Code)
Can somebody pls help me at the earlist.
I have a deadline by tomorrow after noon/....
Thanx in advance
Chhaya
i am getinga really werid IOexception which i have never encountered before.i am using tomcat for my servlets.
The request parameters are send thru the browser
.when my parameter values contans spaces the browser successfully converts them to %20 and appropriate messages are displayed..
but when i try to test by passing '%%abc' (example value: note it explicitly contains %)
it throws CharConversionException.
I tried to catch this in the service method of my servelt, but it says that this method is never thrown in my code body
i get the follwoing error stck
java.io.CharConversionException: isHexDigit
at org.apache.tomcat.util.buf.UDecoder.convert(Unknown Source)
at org.apache.tomcat.util.http.Parameters.processParameters(Unknown Source)
at org.apache.tomcat.util.http.Parameters.processParameters(Unknown Source)
at org.apache.tomcat.util.http.Parameters.handleQueryParameters(Unknown Source)
at org.apache.tomcat.core.Request.handleQueryParameters(Unknown Source)
at org.apache.tomcat.facade.HttpServletRequestFacade.getParameter(Unknown Source)
at com.myzus.mobilebd.servlets.AirTel.service(AirTel.java, Compiled Code)
at javax.servlet.http.HttpServlet.service(HttpServlet.java, Compiled Code)
at org.apache.tomcat.facade.ServletHandler.doService(Unknown Source)
at org.apache.tomcat.core.Handler.invoke(Unknown Source)
at org.apache.tomcat.core.Handler.service(Unknown Source)
at org.apache.tomcat.facade.ServletHandler.service(Unknown Source)
at org.apache.tomcat.core.ContextManager.internalService(Unknown Source)
at org.apache.tomcat.core.ContextManager.service(Unknown Source)
at org.apache.tomcat.modules.server.Ajp12Interceptor.processConnection(Unknown Source)
at org.apache.tomcat.util.net.TcpWorkerThread.runIt(Unknown Source)
at org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(Unknown Source)
at java.lang.Thread.run(Thread.java, Compiled Code)
Can somebody pls help me at the earlist.
I have a deadline by tomorrow after noon/....
Thanx in advance
Chhaya