File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
The moose likes JSP and the fly likes use of response Object Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Soft Skills this week in the Jobs Discussion forum!
JavaRanch » Java Forums » Java » JSP
Bookmark "use of response Object" Watch "use of response Object" New topic
Author

use of response Object

jacob deiter
Ranch Hand

Joined: Apr 02, 2008
Posts: 576
I am in JSP 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 servlet or JSP,upto my knowledge ,I use request object between JSP and servlets,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
Bear Bibeault
Author and ninkuma
Marshal

Joined: Jan 10, 2002
Posts: 61764
    
  67

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] [Bear's FrontMan] [About Bear] [Books by Bear]
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: use of response Object