Thanks. I have always put the webpages under WEB-INF to avoid directory views. This is a realistic option.

At 03:45 AM 12/6/2002 -0800, you wrote:
To prevent users from seeing any directory add the
entry
        <welcome-file-list>
                <welcome-file>index.jsp</welcome-file>
        </welcome-file-list>
To your web.xml and in every directory, place a copy
of index.jsp.  It can just be a redirect to your home
page.
--- Peter Lee <[EMAIL PROTECTED]> wrote:
> Where should I put my jsp files? I usually put them
> above the /web-inf folder, but this
> would allow  clients to see the directory listing.
> Should I use a redirect mapping to
> protect them from being viewed? In which file should
> I do it?
>
> Thanks
>
> --
> To unsubscribe, e-mail:
> <mailto:[EMAIL PROTECTED]>
> For additional commands, e-mail:
> <mailto:[EMAIL PROTECTED]>
>


__________________________________________________
Do you Yahoo!?
Yahoo! Mail Plus - Powerful. Affordable. Sign up now.
http://mailplus.yahoo.com

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

-------------------------------------------------------

This electronic mail transmission and any accompanying documents contain information belonging to the sender which may be confidential and legally privileged. This information is intended only for the use of the individual or entity to whom this electronic mail transmission was sent as indicated above. If you are not the intended recipient, any disclosure, copying, distribution, or action taken in reliance on the contents of the information contained in this transmission is strictly prohibited. If you have received this transmission in error, please delete the message. Thank you


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

Reply via email to