R
runescience
greetings. I want to go from a logon page to an action page that
decides whether the user gets an edit page, or a new page with blank
fields.
..jsp
form action="/ResponseInit" method="get"
struts-config.xml
=======
<action path="/ResponseInit"
type="com.mycompany.struts.action.ResponseInitAction"
name="LogonFormBean"
scope="request">
<forward name="SortRetrieve" path="/NewRegister.jsp"/>
<forward name="SortRetrieve" path="/EditRegister.jsp"/>
</action>
In the action execute i will check the DB for logon and password, and
then foward to an Edit register page.
But, i seem to get fowarded to my page with nothing in the fields.
What do I do?
How do I do it?
Is there a good example of this. The one built into the struts
downloade example 1.2.7 was a bit confusing.
decides whether the user gets an edit page, or a new page with blank
fields.
..jsp
form action="/ResponseInit" method="get"
struts-config.xml
=======
<action path="/ResponseInit"
type="com.mycompany.struts.action.ResponseInitAction"
name="LogonFormBean"
scope="request">
<forward name="SortRetrieve" path="/NewRegister.jsp"/>
<forward name="SortRetrieve" path="/EditRegister.jsp"/>
</action>
In the action execute i will check the DB for logon and password, and
then foward to an Edit register page.
But, i seem to get fowarded to my page with nothing in the fields.
What do I do?
How do I do it?
Is there a good example of this. The one built into the struts
downloade example 1.2.7 was a bit confusing.