SCJP-6.0 OCPJWCD-5.0
William Brogden wrote:There most likely cause is that you don't have that directory configured properly as a "web application". If, on startup, the server does not see the correct WEB-INF, web.xml, etc. structure, you will get that not found message.
Bill
SCJP-6.0 OCPJWCD-5.0
Mark E Hansen wrote:Perhaps you could share that directory structure with us?
Also, could you share the contents of your web.xml file (again, UseCodeTags)?
SCJP-6.0 OCPJWCD-5.0
I dont think that the code for the web.xml is important as of this point '
Tomcat manager it's showing the running status for the application Beer-v1 as false, while for that from chapter-1 i.e. ch1 it's showing true.
Param
parampreet sethi wrote:I am not sure if this will solve your issue, but try putting the html file inside the WEB-INF folder.
And in web.xml change the welcome file list tag and add the name of the html file into it at the top. Sample code is:
parampreet sethi wrote:When you open the http://localhost:8080, by default it will open your html page.
parampreet sethi wrote:I am not sure if this will solve your issue, but try putting the html file inside the WEB-INF folder.
And in web.xml change the welcome file list tag and add the name of the html file into it at the top. Sample code is:
Tomcat manager it's showing the running status for the application Beer-v1 as false, while for that from chapter-1 i.e. ch1 it's showing true.
Param
parampreet sethi wrote:Regarding Anupam's query, Are you deploying the application as a WAR file in tomcat or its a folder which is copied inside tomcat/webapps folder?
parampreet sethi wrote:
If tomcat logs do not say anything. You can try by setting the context of application in server.xml file.
SCJP-6.0 OCPJWCD-5.0
Param
If you are using a wood chipper, you are doing it wrong. Even on this tiny ad:
Smokeless wood heat with a rocket mass heater
https://woodheat.net
|