Hello all,
Is there anyway to pass a return statement back to a
jsp?
(Reason why I ask is because sometimes my calling jsp will call a bean or
servlet that will need to do response.sendRedirect() and do not want the calling jsp to continue processing...instead I want the calling jsp to just immediately redirect to avoid response already committed exceptions)
For instance,
To get the same effect as this at runtime:
Edit: Just to clarify a little bit. The reason why I do not want to handle the if/then return statement in the calling jsp is because I do not want others to have to write the if/then return logic into their calling jsps should they want to implement my bean/servlet. Thanks!
[ December 15, 2005: Message edited by: David Miranda ]