pajarokillo
Programmer
Hi!, i have the following problem, in my struts-config.xml i have the next configuration for a Action:
<action path="/login" type="com.icg.merlin.actions.LoginAction" name="loginForm"
validate="true" input="/login.jsp" scope="request">
......
.....
</action>
i want that when my Action class throw an error, it could called to the page that i set up in the input property of the action tag.
Then, in my Action class i had put the next code when occurr an error:
return (mapping.findForward(mapping.getInput()));
but it return a blank page, what is the problem??
I wait that i could had explained well, my english is not good
<action path="/login" type="com.icg.merlin.actions.LoginAction" name="loginForm"
validate="true" input="/login.jsp" scope="request">
......
.....
</action>
i want that when my Action class throw an error, it could called to the page that i set up in the input property of the action tag.
Then, in my Action class i had put the next code when occurr an error:
return (mapping.findForward(mapping.getInput()));
but it return a blank page, what is the problem??
I wait that i could had explained well, my english is not good