Forums Register Login
Send jsp page using setAttribute
Hi Ranchers,

Can we send complete JSP page using setAttribute?

Please give me the reply as soon as possible,

Thanks in advance,,,

What does it mean to "send complete JSP page"? And whatever it is, why would you want to do it?
What exactly are you trying to achieve by this?
(1 like)
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.
If you open the box, you will find Heisenberg strangling Shrodenger's cat. And waving this tiny ad:
RavenDB is an Open Source NoSQL Database that’s fully transactional (ACID) across your database

This thread has been viewed 1221 times.

All times above are in ranch (not your local) time.
The current ranch time is
Mar 25, 2019 11:46:02.