On Tue, 20 Mar 2001, 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">
> or i've missed something?
> 

Although the latter still works, the <html:form> tag has been made smart
enough to figure out how an action path is mapped to the controller
servlet.  The former will work even if you change from path mapping to
extension mapping (or vice versa), for example.

> John.
> 
> 

Craig


Reply via email to