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>

Ivan.

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

Reply via email to