wood burning stoves 2.0*
The moose likes Web Component Certification (SCWCD/OCPJWCD) and the fly likes RequestDispatcher and form action Problem Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Certification » Web Component Certification (SCWCD/OCPJWCD)
Bookmark "RequestDispatcher and form action Problem" Watch "RequestDispatcher and form action Problem" New topic

RequestDispatcher and form action Problem

Mohit G Gupta
Ranch Hand

Joined: May 18, 2010
Posts: 634

i am confused when we have to put a forward slash in the


why do we have to put the slash in the requestdispatcher when forwarding to a html or jsp page ?

OCPJP 6.0 93%
OCPJWCD 5.0 98%
bhanu chowdary
Ranch Hand

Joined: Mar 09, 2010
Posts: 256
You may or may not use /. Try removing it and check. The code should behave the same whether you have a / or not.
With a little knowledge, a cast iron skillet is non-stick and lasts a lifetime.
subject: RequestDispatcher and form action Problem
Similar Threads
Shopping cart help
doubt on RequestDispatcher
Compiling Servlets how to..
Servlet not called - Error in web.xml
servlet mapping problem