I need to implement struts on my application.
My application functions like

page1.jsp --> servlet --> javabeans(database access)
--> page2.jsp


page2.jsp --> servlet --> javabeans --> page3.jsp


I have implemented struts using action mappings but it
only works when I use a URL link and has ****.do in
the URL.

But when I use <html:form> to process the request, it
does not work.


 <form-beans>

    <form-bean name="FormBean"
                    type="com.mybean"/>

  </form-beans>


  <action-mappings>


    <action path="/dothis"
               type="com.myServlet"
               name="dothis"
              scope="session"
           validate="false">
      <forward name="page2" path="/page2.jsp"/>
    </action>
        
    <action path="/forms"
               type="com.myServlet"
               name="FormBean"
              scope="request"
                   input="/page2.jsp"
                   validate="false">
      <forward name="page3" path="/page3.jsp"/>
    </action>   

    <action path="/page2"
            forward="/page2.jsp">
    </action>


I hope you can help me.

Thanks

Boney Sze

__________________________________________________
Do You Yahoo!?
Yahoo! Sports - sign up for Fantasy Baseball
http://sports.yahoo.com

--
To unsubscribe, e-mail:   <mailto:[EMAIL PROTECTED]>
For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>

Reply via email to