Of course. But with this action-forward approach, you can forward only *.do
URLs.
Please correct me, if I am wrong.

--
gR


----- Original Message -----
From: "Rey Francois" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Tuesday, July 17, 2001 12:25 PM
Subject: RE: URL mapping


> You could, but I would favor the use of the 'forward' attribute in the
> 'action' element in the struts-config.xml.
> Here is an extract of the documentation in the DTD:
>      forward         Context-relative path of the servlet or JSP resource
> that
>                      will process this request, instead of instantiating and
>                      calling the Action class specified by "type".  Exactly
> one
>                      of "forward", "include", or "type" must be specified.
>
>
> Doing it this way makes it very easy to map to an action at a later stage if
> the requirements have changed.
>
> Fr.
>
>
> -----Original Message-----
> From: Gregor Rayman [mailto:[EMAIL PROTECTED]]
> Sent: 17 July 2001 12:25
> To: [EMAIL PROTECTED]
> Subject: Re: URL mapping
>
>
> "Chris Callaghan" <[EMAIL PROTECTED]> asks:
>
>
> > Hey all,
> >
> > I want to be able to map a URL to certain JSPs which may or may not have
> > an action involved with them e.g
> > map /logon to logon.jsp which also has as action also called logon
> > also /tour to tour.jsp which has no associated action.
> >
> > How can I do this with struts?
> >
> > Cheers
> > Chris
>
> You can do it with your http server, not with struts.
>
> --
> gR
>
> ************************************************************************
> The information in this email is confidential and is intended solely
> for the addressee(s).
> Access to this email by anyone else is unauthorised. If you are not
> an intended recipient, you must not read, use or disseminate the
> information contained in the email.
> Any views expressed in this message are those of the individual
> sender, except where the sender specifically states them to be
> the views of Capco.
>
> http://www.capco.com
> ***********************************************************************
>

Reply via email to