Anyway  I think some jsp container do not support jsp pages under the
WEB-INF directory.
I tried with tomcat 4.0 and it all works, but i remind someone told me
weblogic doesn't.
I'm not sure about this, anyway. :) :)
Ivan.

----- Original Message -----
From: "Ivan Siviero" <[EMAIL PROTECTED]>
To: "Struts Users Mailing List" <[EMAIL PROTECTED]>
Sent: Friday, March 08, 2002 3:54 PM
Subject: Re: jsp pagis in /WEB-INF directory


> sorry. you're right.
>
> try to specify an action  under the struts-config.xml <action-mapping>
> section.
> This action only return the globalforward you specified in the
> <global-forward> section.
> Ivan.
>
> ----- Original Message -----
> From: "Ferran Parra" <[EMAIL PROTECTED]>
> To: "Struts Users Mailing List" <[EMAIL PROTECTED]>
> Sent: Friday, March 08, 2002 3:28 PM
> Subject: Re: jsp pagis in /WEB-INF directory
>
>
> > thanks all,
> >
> > but the solution proposed by Soledad Villa:
> >
> > try:
> >  <html:link forward="/pages/jsp/A.jsp">
> >
> > throws:
> > Error interno del servlet:
> >
> > javax.servlet.ServletException: Cannot create rewrite URL:
> > java.net.MalformedURLException: Cannot retrive ActionForward named
> > /pages/jsp/A.jsp
> > and the solution proposed by Ivan Siviero:
> > the WEB-INF directory is protected.You cannot access the jsp directly
from
> > the url.You have to execute an action or a forward.this should works:
> > <html:link forward="myForward">in the
struts-config.xml:<global-forwards>
> > <forward name="myForward"
> > path="="/WEB-INF/pages/jsp/A.jsp"/></global-forwards>
> > throws page not found.
> > what can i do??
> > thanks
> >
> > ----- Original Message -----
> > From: "Ivan Siviero" <[EMAIL PROTECTED]>
> > To: "Struts Users Mailing List" <[EMAIL PROTECTED]>
> > Sent: Friday, March 08, 2002 2:52 PM
> > Subject: Re: jsp pagis in /WEB-INF directory
> >
> >
> > >
> > > > in the struts-config.xml:
> > > >
> > > > <global-forwards>
> > > >     <forward name="myforward" path="="/WEB-INF/pages/jsp/A.jsp"/>
> > > > </global-forwards>
> > > >
> > > > Ivan.
> > >
> > > sorry i did some typo :) :)
> > >
> > >  <global-forwards>
> > >      <forward name="myForward" path="/WEB-INF/pages/jsp/A.jsp"/>
> > >  </global-forwards>
> > >
> > > >
> > > > ----- Original Message -----
> > > > From: "Soledad Villa" <[EMAIL PROTECTED]>
> > > > To: "'Struts Users Mailing List'" <[EMAIL PROTECTED]>
> > > > Sent: Friday, March 08, 2002 2:33 PM
> > > > Subject: RE: jsp pagis in /WEB-INF directory
> > > >
> > > >
> > > > > you don't have to include the web-inf directory
> > > > > try:
> > > > > <html:link forward="/pages/jsp/A.jsp">
> > > > >
> > > > > -----Mensaje original-----
> > > > > De: Ferran Parra [mailto:[EMAIL PROTECTED]]
> > > > > Enviado el: viernes, 08 de marzo de 2002 10:10
> > > > > Para: Struts Users Mailing List
> > > > > Asunto: jsp pagis in /WEB-INF directory
> > > > >
> > > > >
> > > > > Hi,
> > > > >
> > > > >     Why is better put jsp's in the /WEB-INF directory??
> > > > >     and
> > > > >     I'm use <html:link forward="/WEB-INF/pages/jsp/A.jsp"> tag in
a
> > jsp
> > > > but,
> > > > > no works, what i doing wrong??
> > > > >
> > > > > thanks
> > > > >
> > > > > -------------------------------------------------------
> > > > > Ferran Parra
> > > > > [EMAIL PROTECTED]
> > > > > http://www.mubimedia.com
> > > > > MUBIMEDIA S.L.
> > > > > C/ Mallorca, 275, 1r 2a 08008 BCN SPAIN
> > > > > Tel: 93 215 21 91 / Fax: 93 215 41 21
> > > > > -------------------------------------------------------
> > > > >
> > > > >
> > > > > --
> > > > > 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]>
> > > > >
> > > > >
> > > >
> > > >
> > > > --
> > > > 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]>
> > >
> >
> >
> > --
> > 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]>
>
>


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

Reply via email to