This week's book giveaway is in the Agile and other Processes forum. We're giving away four copies of The Mikado Method and have Ola Ellnestam and Daniel Brolund on-line! See this thread for details.
handle main home page by servlet instead of index.html?
zhangzh
Greenhorn
Joined: Sep 22, 2000
Posts: 10
posted
0
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
Madhav Lakkapragada
Ranch Hand
Joined: Jun 03, 2000
Posts: 5040
posted
0
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