handle main home page by servlet instead of index.html?
Joined: Sep 22, 2000
tomcat 3.1 i deployed my sample application to webapps\dvd; in browser, http://localhost:8080/dvd will inovke webapps\dvd\index.html by default. i'm trying to invoke a servlet by 'http://localhost:8080/dvd' by dispatching to 'another.html' (rename index.html to another.html). set mapping url to '\' in web.xml didn't work. is there any way to do this? thanx, zhangzh
Joined: Jun 03, 2000
zhangzh: My understanding the Tomcat doc was a little different in the way we create our applications. We have to create all our stuff under the ...\doc\appdev dir and then use the build script which sets everything right and copies the approppriate stuff in the correct places under the webapps dir. Please refer the Tomcat Deployment Descriptor for detailed step-by-step procedure. Regds. - satya