virtual host for subdomains

2007-11-08 Thread Kwok Ng
Hi folks, I notice some BLOG websites assign the subdomains to the registered users, like user1.mydomain.com user2.mydomain.com If I use the tomcat to do this, do I use the virtual host configuration? If so, do I use the same docBase to point to one war file with different host names? Thanks!

Context path

2007-10-08 Thread Kwok Ng
Hi folks, I am trying to deploy webapps with context xml file. I have a context xml in the /conf/locahost/www.xml. The content is: When I start the tomcat, I can't access the anything with http://localhost/abc, but I can access http://localhost/www. Why? Thanks! Billy Ng

Added 005f on the path after pre-compilation

2007-07-18 Thread Kwok Ng
Hi folks, I am using Tomcat 5.5.23. I am trying to use org.apache.jasper.JspC to pre-compile the JSP files. I notice all the file paths were added "005f" if there is a "_" in the path like ../my_package/test.jsp will change to ../my_005fpackage/test_jsp.java. What did I do wrong? Thanks! Bil