Are all your links coming from the users browser correctly formatted?

Viewing the html source.........
/myapp/action.do (or whatever you picked)

or

Are you trying to link from one jsp to another without going through your
action mappings?


JM


> -----Original Message-----
> From: Emmanuel Bridonneau [mailto:[EMAIL PROTECTED]]
> Sent: Monday, May 06, 2002 5:43 PM
> To: 'Struts Users Mailing List' (E-mail)
> Subject: jsp inside WEB-INF
>
>
> Some of you participated in an interested thread about whether to put
> jsp's inside WEB-INF some 3 weeks ago. I am trying to do this using a
> JBoss/catalina environment with no vail.
> So I have these 2 js pages that refer to each other i.e Page1 links to
> page2 and vice-versa.
> the global-forwards> section has:
> <forward name="Page1" path="WEB-INF/pageone.jsp" />
> <forward name="Page2" path="WEB-INF/pagetwo.jsp" />
>
> Unfortunatly, instead of mapping to this directory, I have the following
> mapped URL : http://localhost:8080/mywebApp/WEB-INF/page1.jsp -- but the
> result is an invalid request URI ie. The requested resource
> (/mywebApp/WEB-INF/pageone.jsp) is not available.
> I was expecting instead the relative URI /WEB-INF/pageone.jsp to be
> resolved
> Anything but WEB-INF is properly resolved e.g.
> /webappsubdir/pageone.jsp (and NOT /mywebApp/webappsubdir/pageone.jsp)
>
> What am i missing? Any one can explain this to me?
>
> --
> To unsubscribe, e-mail:
> <mailto:[EMAIL PROTECTED]>
> For additional commands, e-mail:
> <mailto:[EMAIL PROTECTED]>
>
>


--
To unsubscribe, e-mail:   <mailto:[EMAIL PROTECTED]>
For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>

Reply via email to