struts-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Amit Badheka" <a...@direct2s.com>
Subject Re: url mapping
Date Wed, 30 Oct 2002 05:33:40 GMT
Thanks for reply, David.

You are right, but when I uses the page reference in struts-config etc then
I want to avoid using /jsp/some.jsp.
I am not thinking about user view, but the programmer's view.

So, I just want to know is there anyway I can avoid /jsp.

----- Original Message -----
From: "David Graham" <dgraham1980@hotmail.com>
To: <struts-user@jakarta.apache.org>
Sent: Wednesday, October 30, 2002 10:42 AM
Subject: Re: url mapping


> The easy answer to this is that you should not be referencing the jsps
> directly anyways.  Your users should see urls ending in .do so you can
> change where the jsp is or which jsp renders the result later without them
> knowing.
>
> David
>
>
>
>
>
>
> >From: "Amit Badheka" <amit@direct2s.com>
> >Reply-To: "Struts Users Mailing List" <struts-user@jakarta.apache.org>
> >To: "Struts Users Mailing List" <struts-user@jakarta.apache.org>
> >Subject: url mapping
> >Date: Wed, 30 Oct 2002 10:19:01 +0530
> >
> >I would like to map my url for jsp pages in web.xml,
> >The pages are kept as -
> >     /jsp/*.jsp
> >
> >so, everytime when I call any page I have to use url as
<ctx>/jsp/some.jsp.
> >
> >Can anybody tell me how should I map my url so that I can directly call
the
> >jsp page(without prefixing /jsp).
> >
> >Thanks.
>
>
> _________________________________________________________________
> Broadband? Dial-up? Get reliable MSN Internet Access.
> http://resourcecenter.msn.com/access/plans/default.asp
>
>
> --
> To unsubscribe, e-mail:
<mailto:struts-user-unsubscribe@jakarta.apache.org>
> For additional commands, e-mail:
<mailto:struts-user-help@jakarta.apache.org>
>
>



--
To unsubscribe, e-mail:   <mailto:struts-user-unsubscribe@jakarta.apache.org>
For additional commands, e-mail: <mailto:struts-user-help@jakarta.apache.org>


Mime
View raw message