Originally posted by manish ahuja:
As we all know that the jsp:forward or sendRedirect has to be the first command in the jsp & i cannot have the same in the middle of a jsp page.
Originally posted by rathi ji:
... and if you don't want to change your design then set a flag if you find that specific value, at the start, and then at last faorward or don't forward depends on flag value...
Originally posted by Bear Bibeault:
I don't see how that helps at all. Once the response is comitted, that's that! Flag or no flag.
Adding bells and whistles to a poor design doesn't make it any better.
only if the collection consists of a specific value.