-
Contributing Member
forward and SendRedirect....
Can anyone tell me, In which situation we are using "forward()" and which situation we are using "SendRedirect()" in servlet?
-
Junior Member
Re: forward and SendRedirect....
Hi,
In web application, if you want to move page within current web application that time you choose forward() method,
else you want to move different web application page, you use sendredirect()
bye
-
Contributing Member
Re: forward and SendRedirect....
Thanks for the quick reply sampath...
-
Junior Member
Re: forward and SendRedirect....
Hi All This is Sheetal.A I am Looking for some faq's about java,jsp servlets....
-
Junior Member
Re: forward and SendRedirect....
what sampath told i right ,but performance wise forward() is good because , noneed to create new req,resp objects nad there is no need of two network round trips between client &server
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules