My impression was that Struts 1.2 picks up whatever mapping you use in
your web.xml to map requests to the ActionServlet.
So, if you map it to
<url-pattern>/something/*</url-pattern>
you will be able to invoke your action with this url:
www.url.com/webapp/something/selectServices
Anyone please correct me if I am wrong.
Thanks.
On Fri, 18 Feb 2005 13:00:14 -0500, Erik Weber <[EMAIL PROTECTED]> wrote:
> Learn to use (Servlet) path mapping ("/something/*") instead of
> extension mapping ("*.something").
>
> Erik
>
>
> Burns, Scott wrote:
>
> > Can a page be displayed without using the action path mapping + (.do)
> > if I have this in my config.
> >
> > <action path="/selectServices"
> >
> > type="org.apache.struts.actions.ForwardAction"
> >
> > scope="request"
> >
> > parameter="/SelectServices.jsp">
> >
> > </action>
> >
> > A url like this http://myhost/somecontext/selectServices.do will work
> >
> > How do I set it up so http://myhost/somecontext/selectServices/ will work?
> >
> > thanks
> >
> >
> >
> > Scott
> >
> >
> >
>
> ---------------------------------------------------------------------
> 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]