Menu

Problem validating when using DispatchAction

Developers
akott
2004-03-23
2004-03-23
  • akott

    akott - 2004-03-23

    Hello

    I've a LoginAction class which extends DispatchAction. When my login page loads it calles the uri /login.do?a=login. And on submitting this page, it goes to /login.do?a=authenticate.

    My issue is that I've to validate the form when I submit. Right now, when I submit, I don't get any validations performed. Bellow is the Struts entry I've.

    <action path="/login" type="gov.ed.fsa.ui.web.action.LoginAction"
    parameter="a"
    scope="request"
    name="loginForm"
    input="/login.do" >
    <forward name="login" path="login.page"/>
    <forward name="success" path="login.success"/>
    <forward name="failure" path="login.error"/>
    </action>

    Please help

     
    • akott

      akott - 2004-03-23

      I found what was wrong. When I modified my input argument from input="/login.do" to input="login.page" everything worked.

       

Log in to post a comment.

Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.