Are you submitting your form to /login, or /do/login?  Alternately, are you
using the <html:form> tag with the action attribute set to "/login"?

-----Original Message-----
From: Ashoka Murthy [mailto:[EMAIL PROTECTED]] 
Sent: Friday, November 02, 2001 1:41 PM
To: [EMAIL PROTECTED]
Subject: Need help


Hi,

I am relatively new to struts..I have a login page on which I fill user name

and password and press "login" button. Then it should go to home.jsp instead

browser says "Page cannot be displayed". I saw the Tomcat console and error 
given is "No action instance for path /logon could be created"

My web.xml looks like :-

  <servlet-mapping>
    <servlet-name>action</servlet-name>
    <url-pattern>/do/*</url-pattern>
  </servlet-mapping>

My struts-config.xml looks like :-

    <action    path="/logon"
                       type="com.tgt.d2g.auth.LogonAction"
                       name="logonForm"
                       input="/jsp/logon.jsp"
                       scope="session">
                      <forward name="home"  path="/jsp/home.jsp"/>
                      <forward name="error" path="/jsp/error.jsp"/>
    </action>



Could some body guide me through this?

Thanks in Advance
Ashoka Murthy

_________________________________________________________________
Get your FREE download of MSN Explorer at http://explorer.msn.com/intl.asp


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

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

Reply via email to