Search...
FAQs
Subscribe
Pie
FAQs
Recent topics
Flagged topics
Hot topics
Best topics
Search...
Search within JSP
Search Coderanch
Advance search
Google search
Register / Login
Post Reply
Bookmark Topic
Watch Topic
New Topic
programming forums
Java
Mobile
Certification
Databases
Caching
Books
Engineering
Micro Controllers
OS
Languages
Paradigms
IDEs
Build Tools
Frameworks
Application Servers
Open Source
This Site
Careers
Other
Pie Elite
all forums
this forum made possible by our volunteer staff, including ...
Marshals:
Campbell Ritchie
Jeanne Boyarsky
Ron McLeod
Paul Clapham
Liutauras Vilda
Sheriffs:
paul wheaton
Rob Spoor
Devaka Cooray
Saloon Keepers:
Stephan van Hulst
Tim Holloway
Carey Brown
Frits Walraven
Tim Moores
Bartenders:
Mikalai Zaikin
Forum:
JSP
getOutputStream in JSP
Bennet Xavier
Ranch Hand
Posts: 162
posted 12 years ago
Number of slices to send:
Optional 'thank-you' note:
Send
can we use getOutputStream in
JSP
.
please check below link,
https://coderanch.com/t/286297/JSP/java/OutputStream-already-obtained
but, i could not do that...
please tell me how to achieve this.
Thanks,
Bennet.
Bear Bibeault
Sheriff
Posts: 67746
173
I like...
posted 12 years ago
Number of slices to send:
Optional 'thank-you' note:
Send
There is no need to.
First of all,
Java
code in a JSP is a practice that has been discredited for almost 10 years now. There should be no Java code in modern JSP pages.
For legacy pages, the implicit variable
out
give access to the JSP writer.
[
Asking smart questions
] [
About Bear
] [
Books by Bear
]
Not looking good. I think this might be the end. Wait! Is that a tiny ad?
a bit of art, as a gift, that will fit in a stocking
https://gardener-gift.com
reply
reply
Bookmark Topic
Watch Topic
New Topic
Boost this thread!
Similar Threads
java.lang.IllegalStateException: getOutputStream() has already been called for this response
Interview question I faced today!
Doubt on RequestDispatcher
OutputStream instead of out
IllegalStateException: getOutputStream() has already been called for this response
More...