Win a copy of Mesos in Action this week in the Cloud/Virtualizaton forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

URLDecoder

 
shaileshnn
Greenhorn
Posts: 2
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I am running servlets using JSWDK 1.0.1 and JDK 1.2.2 and using URLDecoder and doget()method and SQL server 7.0. This code works fine on our Intranet. But the same code fails to work on the internet.
The error is as follows :
Error: 500
Internal Servlet Error:
java.lang.NullPointerException:
at java.net.URLDecoder.decode(URLDecoder.java:47)
at Notepad.doGet(Notepad.java, Compiled Code)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:715)
at javax.servlet.http.HttpServlet.service(HttpServlet.java, Compiled Code)
at com.sun.web.core.ServletWrapper.handleRequest(ServletWrapper.java, Compiled Code)
at com.sun.web.core.InvokerServlet.service(InvokerServlet.java, Compiled Code)
at javax.servlet.http.HttpServlet.service(HttpServlet.java, Compiled Code)
at com.sun.web.core.ServletWrapper.handleRequest(ServletWrapper.java, Compiled Code)
at com.sun.web.core.Context.handleRequest(Context.java, Compiled Code)
at com.sun.web.server.ConnectionHandler.run(ConnectionHandler.java, Compiled Code)
 
Madhav Lakkapragada
Ranch Hand
Posts: 5040
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator

"shaileshnn"
your name doesn't agree with the javaranch guidelines.
please take a moment and re-register after reviewing the
guidelines at http://www.javaranch.com/name.jsp
thanks for your cooperation.
- satya
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic