That will work. But I am wondering why the action/forward doesn't work. Fromt he docs it seems like it should.
thanks - dave ----- Original Message ----- From: "Adam Hardy" <[EMAIL PROTECTED]> To: "Struts Users Mailing List" <[EMAIL PROTECTED]> Sent: Thursday, August 28, 2003 2:51 AM Subject: Re: action-mapping forward - how do I use it? > David, > what happens when you use a <form ...> ? > > If the URL is wrong, have you tried <html:rewrite...> ? > > Alternatively, don't use a form. Use a button inside a <a></a> > > Hope that helps > Adam > > On 08/27/2003 09:56 PM David Thielen wrote: > > Hi; > > > > I have a case where, when the user clicks on a button, I want the action to be to go to a new page. No ActionServlet or ActionForm because the only thing in the form is the button. > > > > But I would like to use the action-mapping to determine where to go. I tried to do this with: > > <action path="/RegisterSubmit" > > forward="/store/address.jsp"> > > </action> > > > > But if I use a <html-el:form...> then it blows up on a null form. If I use a <from...> then it doesn't go to the mapped page. > > > > Is there any way to do this other than creating a do nothing action and form? (Seems to me it should be possible.) > > > > thanks - dave > > -- > struts 1.1 + tomcat 4.1.27 + java 1.4.2 > Linux 2.4.20 RH9 > > > --------------------------------------------------------------------- > 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]