J2EE Reference Implementation default webapp
posted 14 years ago
I'm using the J2EE Reference Implementation version 1.2.1 to deploy an application. I want to make my application the default webapp such that when a user enters the URL www.mysite.com they will be taken to my application home page index.html. The index.html will take the user to a servlet when they click a link on the page. When I do this I get an error: Given path servlet/ControllerServlet is not absolute to the base of this context. When I deploy this application with a context root it works okay but then I have to specify the webapp in the URL (www.mysite.com/mywebapp/index.html) Any help would be greatly appreciated.