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
return after jsp:forward action
Brusk Baran
Ranch Hand
Posts: 132
posted 20 years ago
Number of slices to send:
Optional 'thank-you' note:
Send
We must explicitly use return; after a call to
jsp
:forward. am I wrong?
pageContext.getOut().clearBuffer(); <jsp:forward ...> <jsp :-P aram name="n1" value="v1" /> </jsp:forward> I mean, we are still inside the [B]service()[/B] method of a jsp-servlet so we must [B]return() B]
kind regards;
Brusk Baran
Andres Gonzalez
Ranch Hand
Posts: 1561
posted 20 years ago
Number of slices to send:
Optional 'thank-you' note:
Send
You don't have to. as long as you don't write anything to the response, it's ok. But in many cases developers write return; after forwarding.
I'm not going to be a Rock Star. I'm going to be a LEGEND!
--Freddie Mercury
reply
reply
Bookmark Topic
Watch Topic
New Topic
Boost this thread!
Similar Threads
Servlets - Request - Threads question?
Unable to use forward option with parameters
Request Attributes
RequestDispatcher forward doubt?
SCWCD hints
More...