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:56:50 GMT
Thanks Craig,

So should I accept it as ultimate solution, and no way to do it with url
mapping.

----- Original Message -----
From: "Craig R. McClanahan" <craigmcc@apache.org>
To: "Struts Users Mailing List" <struts-user@jakarta.apache.org>
Sent: Wednesday, October 30, 2002 11:19 AM
Subject: Re: url mapping


>
>
> On Wed, 30 Oct 2002, Amit Badheka wrote:
>
> > Date: Wed, 30 Oct 2002 11:03:40 +0530
> > 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: 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>
>
>



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