,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
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 aj...@sympatico.ca
On 22-Jul-2009, at 22:36, Hassan
hello,I found this in the servlet specification:
• The deployment descriptor lists the following welcome files.
welcome-file-list
welcome-fileindex.html/welcome-file
welcome-filedefault.jsp/welcome-file
/welcome-file-list
• The static content in the WAR is as follows
/foo/index.html
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 kmul...@gmail.com
you can.
for instance,
File file
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 varunasenevira...@gmail.com