Don't know if this helps but it sure seems like it (this is from the doc):
There are two common approaches to defining the URLs that will be processed
by the controller servlet -- prefix matching and extension matching. An
appropriate mapping entry for each approach will be described below.
Prefix matching means that you want all URLs that start (after the context
path part) with a particular value to be passed to this servlet. Such an
entry might look like this:
<servlet-mapping>
<servlet-name>action</servlet-name>
<url-pattern>/execute/*</url-pattern>
</servlet-mapping>
which means that a request URI to match the /logon path described earlier
might look like this:
http://www.mycompany.com/myapplication/execute/logon
where /myapplication is the context path under which your application is
deployed.
Extension mapping, on the other hand, matches request URIs to the action
servlet based on the fact that the URI ends with a period followed by a
defined set of characters. For example, the JSP processing servlet is
mapped to the *.jsp pattern so that it is called to process every JSP page
that is requested. To use the *.do extension (which implies "do
something"), the mapping entry would look like this:
<servlet-mapping>
<servlet-name>action</servlet-name>
<url-pattern>*.do</url-pattern>
</servlet-mapping>
and a request URI to match the /logon path described earlier might look
like this:
http://www.mycompany.com/myapplication/logon.do
At 03:54 PM 1/24/2001 +0000, Chris Smith wrote:
>Sorry, if I was subscribed to the list, I'd have attached this to Howard
>Moore's message.
>
>I agree, I don't understand why the FormTag is stripping the path from
>the ".do" action. This forces you to have all your jsp's in the context
>root, not arranged in directories.
>
>I don't want to change my local copy of struts without understanding why
>the path is being stripped off, so my workaround is to use plain old html
>instead of the form tag:
>
>My jsp contains:
> <form name="prelodgementForm" method="post" action="<%=
>request.getContextPath() %>/freight/editPrelodgement.do">
>
>My struts-config.xml contains:
> <action
>path="/content/businesspartnersandstaff/fright/editPrelodgement" ...>
>
>Hope that helps in the interim.
>
>Chris Smith
Mike Fitterman 1 Network Drive UBUR02-205
Solaris Software Group Burlington, MA 01803-0902
Sun Microsystems, Inc 781-442-0843