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:[EMAIL PROTECTED]]
Envoyé : lundi 14 mai 2001 15:47
À : [EMAIL PROTECTED]
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: "[EMAIL PROTECTED]"<laurent.delvaux@frees
bee.fr>
>Reply-To: [EMAIL PROTECTED]
>To: [EMAIL PROTECTED]
>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