A friendly place for programming greenhorns!
Big Moose Saloon
Register / Login
use of response Object
Joined: Apr 02, 2008
Aug 16, 2009 01:15:39
I am in
page a.jsp, its has one hyper link on it, My intention is I have to some data in request object and pass it to next page ,
when I click on the hyperlink, I should navigate to Next JSP b.jsp, there I will get the same data
I am really confused about Use of response object in
or JSP,upto my knowledge ,I use request object between JSP and
,I never use any response Object in code
Any One please explain
1) what is the use of response oject
2) when it should be used?
3) I put some data in response object only(I do not know the reason) ,I never put any object in response
I read some article but it does not given me clear idea
Author and ninkuma
Joined: Jan 10, 2002
Aug 16, 2009 01:22:36
The whole purpose of a JSP is to easily create the response. When writing a JSP you will never really be concerned with the response object.
Things are more interesting in a servlet.
Asking smart questions
Books by Bear
I agree. Here's the link:
subject: use of response Object
Differences btwn (response.sendRedirect) and (Requestdispatcher.forward)
how to design a Web App in Spring: why not web-page driven design?
Struts Validator and Dynamically Populated Select Lists
how to add data in request object and pass it to next page?
All times are in JavaRanch time: GMT-6 in summer, GMT-7 in winter
| Powered by
Copyright © 1998-2015