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" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
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" <[EMAIL PROTECTED]>
> >Reply-To: "Struts Users Mailing List" <[EMAIL PROTECTED]>
> >To: "Struts Users Mailing List" <[EMAIL PROTECTED]>
> >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>

Reply via email to