If you have mapping turned on (*.do) for your Struts servlet, only those
url's that end in '.do' will go through the servlet.  Or put another way,
any url that does not end with '.do' will be processed as is by the servlet
engine.

bob
----- Original Message -----
From: <[EMAIL PROTECTED]>
To: "Struts Users Mailing List" <[EMAIL PROTECTED]>
Sent: Sunday, February 10, 2002 3:23 PM
Subject: Re: mapping jsp *.do how to ?


>
>
> You can map JSPs without having to pass through Action objects by simply
> defining the JSPs as Global Forwards in your struts-config file:
>
>   <global-forwards>
>      <forward name="addUser" path="/admin/admin_userForm.jsp"/>
>   </global-forwards>
>
> So, in the above example, calling addUser.do will just get me straight to
> the JSP.
>
> - Cody
>
>
>
>
>
>
>
> "Arik Levin ( Tikal )" <[EMAIL PROTECTED]> on 02/10/2002 01:33:43
> PM
>
> Please respond to Struts Users Mailing List
>       <[EMAIL PROTECTED]>
> To:   'Struts Users Mailing List' <[EMAIL PROTECTED]>
> cc:
> Subject:  mapping jsp *.do how to ?
>
>
> I need to map all my JSP's to  -  *.something  -  not just the actions
> JSP's.
> How should I do this?
>
> Should I write some base action and use it as some handler or there is an
> other way?
>
>
>
>
>
>
> ----------------------------------------------------------------
> The information transmitted is intended only for the person or entity to
> which it is addressed and may contain confidential and/or privileged
> material.  Any review, retransmission, dissemination or other use of, or
> taking of any action in reliance upon, this information by persons or
> entities other than the intended recipient is prohibited.   If you
received
> this in error, please contact the sender and delete the material from any
> computer.
>
>
> --
> To unsubscribe, e-mail:
<mailto:[EMAIL PROTECTED]>
> For additional commands, e-mail:
<mailto:[EMAIL PROTECTED]>
>


--
To unsubscribe, e-mail:   <mailto:[EMAIL PROTECTED]>
For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>

Reply via email to