Win a copy of Murach's Python Programming this week in the Jython/Python forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

return after jsp:forward action  RSS feed

 
Brusk Baran
Ranch Hand
Posts: 132
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
We must explicitly use return; after a call to jsp:forward. am I wrong?

kind regards;
Brusk Baran
 
Andres Gonzalez
Ranch Hand
Posts: 1561
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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.
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!