You configure that in the web.xml deployment descriptor file! You MAP the actions and actionForwards in the struts-config.xml, but you must map the path or extension modes in the web.xml file! In your case:
<servlet-mapping> <servlet-name>action</servlet-name> <url-pattern>*.do</url-pattern> </servlet-mapping> (extracted from example application web.xml) Wellington L.S. da Silva UN/FAO -----Original Message----- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]] Sent: Wednesday, October 31, 2001 11:24 AM To: Struts Users Mailing List Subject: Re: redirection Have you configured struts-config.xml properly to recognise logon.do? Have you tested that struts is properly installed and is working properly? Regards, Scott ----- Original Message ----- From: "Andrew Kirkland" <[EMAIL PROTECTED]> To: "Struts Users Mailing List" <[EMAIL PROTECTED]> Sent: Wednesday, October 31, 2001 10:08 AM Subject: RE: redirection > A .do file is the file extention that i have used for mapping purposes. > > I have this in my jsp : <html:form action="lesson1/logon.do" focus="user"> > > and then web.xml redirects it and it should then be processed by my java > file etc. > > However I am simply redirected in my browser to logon.do which doesnt exist! > > Andy > > -----Original Message----- > From: Gregor Rayman [mailto:[EMAIL PROTECTED]] > Sent: Wednesday, October 31, 2001 10:12 AM > To: Struts Users Mailing List > Subject: Re: redirection > > > "Andrew Kirkland" <[EMAIL PROTECTED]> wrote: > > > > Whenever I write a struts application and try to do anything involving an > > action mapping, my browser is simply redirected to the corresponding *.do > > file! Can someone tell me whats wrong? Im using tomcat 3.3. > > What is a *.do file? > > -- > gR > > > > -- > 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]> > -- 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]>