struts-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "laurent.delvaux@freesbee.fr"<laurent.delv...@freesbee.fr>
Subject RE: Disable JSP ?
Date Mon, 14 May 2001 15:17:25 GMT
I agree with you, but I want the users can't enter JSP 
adresses directly in their explorer, but they can access 
the page through an Action. With your method struts 
forward the request to the good page but this page can't 
be displayed (because it's in the WEB-INF directory), 
perhaps there is something to change in my web.xml?

-----Message d'origine-----
De : Dan Miser [mailto:midasdan@hotmail.com]
Envoyé : lundi 14 mai 2001 15:47
À : struts-user@jakarta.apache.org
Objet : Re: Disable JSP ?


If you don't want your users to access the JSP pages, 
place them in (or 
underneath) the WEB-INF directory. You still need to have 
the JSP processor 
as normal in web.xml.
--
Dan Miser
http://www.distribucon.com

>From: "laurent.delvaux@freesbee.fr"<laurent.delvaux@frees
bee.fr>
>Reply-To: struts-user@jakarta.apache.org
>To: struts-user@jakarta.apache.org
>Subject: Disable JSP ?
>Date: Mon, 14 May 2001 14:18:56 +0100
>
>Hello struts users,
>I just have a little question about application server
>configuration. Well, i never use direct link between JSP,
>i always use Action even if there is nothing to do, then
>I can control the path of users into my site.
>That's why I don't want user be able to call directly a
>JSP.

__________________________________________________________
_______
Get your FREE download of MSN Explorer at 
http://explorer.msn.com



Mime
View raw message