On Wed, 30 Oct 2002, Amit Badheka wrote:

> Date: Wed, 30 Oct 2002 11:03:40 +0530
> From: Amit Badheka <[EMAIL PROTECTED]>
> Reply-To: Struts Users Mailing List <[EMAIL PROTECTED]>
> To: Struts Users Mailing List <[EMAIL PROTECTED]>
> Subject: Re: url mapping
>
> 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.
>

If you don't want to reference them as "/jsp/foo.jsp', then put the JSP
pages in the top-level directory of your webapp, instead of in a "jsp"
subdirectory.

The struts-config.xml file must reflect the actual context-relative path
of where the pages exist.  If you don't like the resulting path, change
where you put the pages!

Craig


--
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