-
1. Re: Deploying a WAR file
cluck Feb 10, 2004 5:00 AM (in response to tetch)// I know that we need an [appname].xml to describe the app
No you don't. If you're only using servlets and jsps, the only config file you absolutely need is web.xml. Just war up everything and drop it in the deploy directory of your server, and it will deploy. Simple as that. -
2. Re: Deploying a WAR file
nigelwhite Feb 10, 2004 7:21 AM (in response to tetch)Thanks, cluck (I'm on that project too)
But it's not looking in the WEB-INF directory.
When I go to the base URL, it gives a directory listing instead of the welcome file specified in WEB-INF\web.xml.
Then when I type the name of the JSP (compiled by Jasper, and mapped to the appropriate servlet name by the generated file which has been inserted into web.xml) it gets a ClassNotFound exception.
The jar file containing that class is in the WEB-INF directory in the WAR, and it's in the tmp\deploy\tmpnnnapp.war\WEB-INF directory. Why is it not seeing WEB-INF???