Hi
I am facing a rather unusual situation, the solution to which I'm oviously unable to figure out and hence this post.
It's something like, I have this
JSP page on whose submission, a previously invisible text msg present within <DIV> tags is to be made available while an Action class is invoked to process the information entered by the user on this page.
Hereof, the requirement is that incase the Action class encounters an exception, the control is to be sent to an error page. However, if no error is encountered then the control doesn't need to be sent to any other JSP. But well, this seems to be an unacceptable scenario as per the
Struts framework. Every Action class has to return a forwarding path!
For now, i send the control back to the invoking JSP page. But it looks kind of weird when after a while the JSP page suddenly reloads on it's own.
Is there any way to circumvent this shortcoming? To suppress the mapping.forward() in a way that the control need not necessarily have to be routed back to a JSP? I tried setting the forward path as "null", but as expected it threw an exception :roll:
Any help would be much appreciated