hello,I found this in the servlet specification:
"
• The deployment descriptor lists the following welcome files.
index.html
default.jsp
• The static content in the WAR is as follows
/foo/index.html
/foo/default.jsp
/foo/orderform.html
/foo/home.gif
/catalog/default.jsp
/catalog/products/shop.jsp
Here is one alternative:
use a servlet that will handle all the illegal accessed files by define
corresponding servlet-mapping in web.xml.
eg.mapping ErrorServlet to /code dir,and return error code SC_FORBIDDEN
(403).
2009/7/23 Andre-John Mas
>
> On 22-Jul-2009, at 22:36, Hassan Schroeder wrote:
saved,and set the ServletResponse's
character encoding accordingly.
Is that possible ? If possible ,how to decide the charset quickly ,without
slowing down the server?
thanks
lanxiazhi
I wonder why you want to install tomcat as a service.In my mind,java is
green software,and I always download a .zip or .gz file,and get it run in a
specific folder,I think that will help to easy manage things.
hope no bother.
thanks.
2009/7/22 Varuna Seneviratna
> Please read the whole story beh
I don't have a linux at hand to prove this idea:
if you're deploy your app in linux ,maybe you can use a soft link to that
directory ,and put the link under your webapp's dir.
hope that will help.
thanks.
lanxiazhi
2009/7/21 Kham Mulman
> you can.
>
> for instance,
>