A friendly place for programming greenhorns!
Big Moose Saloon
Search
|
Java FAQ
|
Recent Topics
Register / Login
Win a copy of
The Mikado Method
this week in the
Agile and other Processes
forum!
JavaRanch
»
Java Forums
»
Java
»
JSP
Author
request dispacher
linta sebastian
Greenhorn
Joined: Dec 07, 2006
Posts: 11
posted
Dec 07, 2006 23:41:00
0
hello
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
I like...
posted
Dec 08, 2006 00:14:00
0
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
Greenhorn
Joined: Dec 07, 2006
Posts: 11
posted
Dec 08, 2006 01:12:00
0
thank you, prabhu its very helpful for me
I agree. Here's the link:
http://zeroturnaround.com/jrebel
- it saves me about five hours per week
subject: request dispacher
Similar Threads
Please advise how to catch runtimeException in servlet level.
I need help with servlets and jsp
Spawning multiple threads inside a Servlet
Attributes sent from JSP wont show in Servlet
Call servlet from java class and redirect to jsp page
All times are in JavaRanch time: GMT-6 in summer, GMT-7 in winter