This week's book giveaway is in the Clojure forum.
We're giving away four copies of Clojure in Action and have Amit Rathore and Francis Avila on-line!
See this thread for details.
Win a copy of Clojure in Action this week in the Clojure forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Send jsp page using setAttribute

 
satyaprasad veeramsetti
Greenhorn
Posts: 28
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Pie
Posts: 64192
83
IntelliJ IDE Java jQuery Mac Mac OS X
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
What does it mean to "send complete JSP page"? And whatever it is, why would you want to do it?
 
Lalit Mehra
Ranch Hand
Posts: 384
Eclipse IDE Firefox Browser Java
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
What exactly are you trying to achieve by this?
 
Tim Holloway
Saloon Keeper
Pie
Posts: 17627
39
Android Eclipse IDE Linux
  • 1
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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.
 
I agree. Here's the link: http://aspose.com/file-tools
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic