This week's giveaway is in the Android forum.
We're giving away four copies of Android Security Essentials Live Lessons and have Godfrey Nolan on-line!
See this thread for details.
The moose likes Servlets and the fly likes Error at RequestDispactch.. Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login

Win a copy of Android Security Essentials Live Lessons this week in the Android forum!
JavaRanch » Java Forums » Java » Servlets
Bookmark "Error at RequestDispactch.." Watch "Error at RequestDispactch.." New topic

Error at RequestDispactch..

padmshree Patil
Ranch Hand

Joined: Dec 18, 2000
Posts: 54
I am trying to deploy project on site.
So far it's working fine.I am able to redirect from html to html and html to servlet .But when I do from servlet to html file
getting error as below.
It is giving error at
out.println("Before dispatch"+"<BR>");
RequestDispatcher RD =getServletContext().getRequestDispatcher ("");
out.println("After Dispatch");
it prints Before dispatch and then Error :500

Error: 500
Location: /padmashree/Registration
Internal Servlet Error:
at RegForm.doGet(
at RegForm.doPost(
at javax.servlet.http.HttpServlet.service(
at javax.servlet.http.HttpServlet.service(
at org.apache.tomcat.core.ServletWrapper.handleRequest(
at org.apache.tomcat.core.ContextManager.service(
at ngasi.b.a.n.a(Unknown Source)
at Source)

you also can check at
I have not used tomcat and Apache server before.Though it's working fine on my PC (with JRUN).

Madhav Lakkapragada
Ranch Hand

Joined: Jun 03, 2000
Posts: 5040
i can get to a form, without any exceptions!
do you need me to do something there to get the
Also, if you have a guest accnt setup, pl.
send me the login info so i can try! Not another
accnt again....
- satya

Take a Minute, Donate an Hour, Change a Life
padmshree Patil
Ranch Hand

Joined: Dec 18, 2000
Posts: 54
Hi all ,
My problem solved. I had given absolute path in request dispatch method so it was giving error.
jQuery in Action, 2nd edition
subject: Error at RequestDispactch..
Similar Threads
Beginner's, servlet problem
unable to access LogServlet...not the same error that Juliane had
How to make JSP work
Looking for JSP web hosting company...