Will get back on this. Probably the right track to go.
Tnx Ashoka >From: Mark Gordon <[EMAIL PROTECTED]> >Reply-To: "Struts Users Mailing List" <[EMAIL PROTECTED]> >To: Struts Users Mailing List <[EMAIL PROTECTED]> >Subject: Re: Need help >Date: Fri, 02 Nov 2001 14:30:27 -0700 > > >I think all paths are relative to the root of your application. > >I am new to struts... so I may be all wrong.... but.... > > >make the path in your action "/jsp/logon" > > <action path="/jsp/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> > > >then in your form use "/jsp/logon" as the action > > ><html:form action="/jsp/logon" focus="code" enctype="multipart/form-data"> > > > >-Mark > > >Ashoka Murthy wrote: > >>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]> > _________________________________________________________________ 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]>