wood burning stoves*
The moose likes JSP and the fly likes Send jsp page using setAttribute Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Android Security Essentials Live Lessons this week in the Android forum!
JavaRanch » Java Forums » Java » JSP
Bookmark "Send jsp page using setAttribute" Watch "Send jsp page using setAttribute" New topic
Author

Send jsp page using setAttribute

satyaprasad veeramsetti
Greenhorn

Joined: Dec 21, 2012
Posts: 28
Hi Ranchers,

Can we send complete JSP page using setAttribute?

Please give me the reply as soon as possible,

Thanks in advance,,,

Regards
Satyaprasad
Bear Bibeault
Author and ninkuma
Marshal

Joined: Jan 10, 2002
Posts: 60785
    
  65

What does it mean to "send complete JSP page"? And whatever it is, why would you want to do it?


[Asking smart questions] [Bear's FrontMan] [About Bear] [Books by Bear]
Lalit Mehra
Ranch Hand

Joined: Jun 08, 2010
Posts: 384

What exactly are you trying to achieve by this?


http://plainoldjavaobject.blogspot.in
Tim Holloway
Saloon Keeper

Joined: Jun 25, 2001
Posts: 15959
    
  19

No, you can't "send a jsp page" at all. HTTP is a strict request/response architecture. The server can never "send" anything, only respond to a request. A JSP will create content that goes into the HttpResponse output stream, but it doesn't "send" it, the response goes back whether you added content or not.

If this sounds like I'm being pedantic, it's because computers aren't very forgiving. When you make incorrect or imprecise assumptions, they won't do what you want.


Customer surveys are for companies who didn't pay proper attention to begin with.
 
With a little knowledge, a cast iron skillet is non-stick and lasts a lifetime.
 
subject: Send jsp page using setAttribute
 
Similar Threads
Accessing Object in a JSP using JSTL
Acess list elements on foreach JSTL tag
Need to Configure Servlet Init Parameters for the jsp
JSP tag to use to call servlet
Struts : Accessing a javabean inside a JSP