Then struts html:form tag is processed
if the action name does not have
a .do at the end, one will be appended so when
it is sent out to the browser it will
always see a 'XXX.do' present.

Troy Hart wrote:
> 
> What does that mean? How do you set up your servlet mapping in web.xml then?
> 
> -----Original Message-----
> From: Rob Leland [mailto:[EMAIL PROTECTED]]
> Sent: Tuesday, March 20, 2001 6:39 AM
> To: [EMAIL PROTECTED]
> Subject: Re: strange html:form tag
> 
> Yuan Jun wrote:
> >
> > i download jakarta-struts-1.0-b1 today and found next in registration.jsp
> >
> > <html:form action="/saveRegistration">
> > <html:hidden property="action"/>
> > <table border="0" width="100%">
> >
> > should it be:
> > <html:form action="/saveRegistration.do">
> 
> Either would be correct.
> 
> The '.do' has been optional since the last week
> in January, maybe before.
> 
> > or i've missed something?
> >
> > John.
> 
> -Rob

Reply via email to