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 REST with Spring (video course) this week in the Spring 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
It's not a secret anymore!