RE: tomcat default webapp
In the webapps directory there will be something called ROOT ... Change the index.jsp inside that and point your browser to http://www.mydomain.com:8080 -Original Message- From: Tony Smith [mailto:[EMAIL PROTECTED] Sent: 01 July 2005 18:39 To: Tomcat Users List Subject: tomcat default webapp I would like to set my web app as tomcat's default app. Thus, if my visitor type http://www.mydomain.com:8080, it will start my web app, not the tomcat default. How can I do this? (I do not want to change my web app's directory name, since some people will still access my site from http://www.mydomain.com/myapp). I found that people talked about change the Context in Tomcat 5/conf/server.xml. But I can not found the commented Context tag in my server.xml and do not know where to put it. Could anyone help? Thanks, __ Do you Yahoo!? Yahoo! Mail - You care about security. So do we. http://promotions.yahoo.com/new_mail - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
RE: tomcat default webapp
I did that, it did not work. The content of default page also confirmed this because index.jsp is compiled in the servlet at installation. --- Raghupathy,Gurumoorthy [EMAIL PROTECTED] wrote: In the webapps directory there will be something called ROOT ... Change the index.jsp inside that and point your browser to http://www.mydomain.com:8080 -Original Message- From: Tony Smith [mailto:[EMAIL PROTECTED] Sent: 01 July 2005 18:39 To: Tomcat Users List Subject: tomcat default webapp I would like to set my web app as tomcat's default app. Thus, if my visitor type http://www.mydomain.com:8080, it will start my web app, not the tomcat default. How can I do this? (I do not want to change my web app's directory name, since some people will still access my site from http://www.mydomain.com/myapp). I found that people talked about change the Context in Tomcat 5/conf/server.xml. But I can not found the commented Context tag in my server.xml and do not know where to put it. Could anyone help? Thanks, __ Do you Yahoo!? Yahoo! Mail - You care about security. So do we. http://promotions.yahoo.com/new_mail - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] Yahoo! Sports Rekindle the Rivalries. Sign up for Fantasy Football http://football.fantasysports.yahoo.com - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
RE: tomcat default webapp
I did that, it did not work. The content of default page also confirmed this because index.jsp is compiled in the servlet at installation. It can be removed by commenting out these lines from webapps/ROOT/WEB-INF/web.xml !-- servlet servlet-nameorg.apache.jsp.index_jsp/servlet-name servlet-classorg.apache.jsp.index_jsp/servlet-class /servlet servlet-mapping servlet-nameorg.apache.jsp.index_jsp/servlet-name url-pattern/index.jsp/url-pattern /servlet-mapping -- I'd like to know if there is a better way, though. Regards, Ben Kim Developer College of Education Texas AM University - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]