Hi All,
I use
struts 1.1 and Weblogic 8.1 on windows 2000.
I have a login.jsp which has hyperlink to join.jsp. When you click on hyperlink , you are supposed to get to join.jsp.
I have all necessary formbeans and Actions for that. The problem is "When I click on hyperlink to go to join.jsp , it doesn't go there but submits the join.jsp ,executes joinAction.class ...."
i.e it doesn't show the join.jsp but automatically submits the join.jsp !!!
Here is my action from struts-config.xml:
<action-mappings>
<actionpath="/login"
type="dummies.struts.LoginAction"
name="loginForm" scope="request"
input="/login.jsp"
validate="true">
<forward name="failure" path="/login.jsp"/>
<forward name="success" path="/loggedin.jsp"/>
</action>
<actionpath="/join"
type="dummies.struts.JoinAction"
name="joinForm"
scope="request"
input="/join.jsp"
validate="true"> <forward name="success" path="/joined.jsp"/> <forward name="failure" path="/login.jsp"/>
</action>
</action-mappings>
If you need more info...let me know......
Thanks for help.
-Anand.