Think simple: throw some println's in RegisterAction and see where it gets hung up. Also, have a look at this:
http://wiki.apache.org/struts/StrutsLogging That may help. -- Frank W. Zammetti Founder and Chief Software Architect Omnytex Technologies http://www.omnytex.com AIM: fzammetti Yahoo: fzammetti MSN: [EMAIL PROTECTED] On Thu, February 16, 2006 11:14 am, Martin Wunderlich said: > Dear all, > > I am brand new user to Struts and just trying to get the first example > from "Struts in Action" working (the little user registration form). My > code looks fine and the app deployed ok on Tomcat 5.5.4. However, > when I click the submit button of the registration form, I get > forwarded > to register.do, where I get stuck. There is no forward to either the > success or the failure page. There are no error messages or exceptions > reported. > I have pasted the struts-config and the relevant section from web.xml > below. Everything seems fine to me. I don't know where to look for the > problem and I'd appreciate any help very much. Thanks a lot! > > Cheers, > > Martin > > > ==========Struts-config========= > > <struts-config> > <form-beans> > <form-bean name="registerForm" type="app.RegisterForm"/> > </form-beans> > > <action-mappings> > <action path="/register" > type="app.RegisterAction" > name="registerForm" > input="/register.jsp"> > <forward name="success" path="/success.html"/> > <forward name="failure" path="/failure.html"/> > </action> > </action-mappings> > </struts-config> > > > ==========/Struts-config========= > > ==========Web.xml========= > > <!-- Action Servlet Configuration --> > <servlet> > <servlet-name>action</servlet-name> > <servlet-class>org.apache.struts.action.ActionServlet</servlet-class> > > <init-param> > <param-name>config</param-name> > <param-value>/WEB-INF/struts-config.xml</param-value> > </init-param> > <init-param> > <param-name>debug</param-name> > <param-value>2</param-value> > </init-param> > <init-param> > <param-name>detail</param-name> > <param-value>2</param-value> > </init-param> > <init-param> > <param-name>validate</param-name> > <param-value>true</param-value> > </init-param> > <load-on-startup>2</load-on-startup> > </servlet> > > > <!-- Action Servlet Mapping --> > > <servlet-mapping> > <servlet-name>action</servlet-name> > <url-pattern>*.do</url-pattern> > </servlet-mapping> > > ==========/Web.xml========= > > > --------------------------------------------------------------------- > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] > > --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]