*
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
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: 61413
    
  67

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: 16134
    
  21

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.
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Send jsp page using setAttribute