wood burning stoves*
The moose likes JSP and the fly likes request dispacher Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login

Win a copy of Murach's Java Servlets and JSP this week in the Servlets forum!
JavaRanch » Java Forums » Java » JSP
Bookmark "request dispacher" Watch "request dispacher" New topic

request dispacher

linta sebastian

Joined: Dec 07, 2006
Posts: 11

to transfer from servlet to jsp we are using request dispatcher. similarly
what to do from jsp to servlet. the same one or different. please explain with simple program
Prabhu Venkatachalam
Ranch Hand

Joined: Nov 16, 2005
Posts: 502

you don't need get request dispatcher object in JSP. JSP itself provides a support for it.

Use <jsp:forward> which will do same as requestDispatcher.forward() in servlet.

Check THIS out.
[ December 08, 2006: Message edited by: Prabhu venkatachalam ]

Prabhu Venkatachalam<br />SCJP 1.4,SCWCD 1.4<br />prabhu.venkatachalam@gmail.com
linta sebastian

Joined: Dec 07, 2006
Posts: 11
thank you, prabhu its very helpful for me
I agree. Here's the link: http://aspose.com/file-tools
subject: request dispacher
Similar Threads
Please advise how to catch runtimeException in servlet level.
I need help with servlets and jsp
Attributes sent from JSP wont show in Servlet
Call servlet from java class and redirect to jsp page
Spawning multiple threads inside a Servlet