Win a copy of Programmer's Guide to Java SE 8 Oracle Certified Associate (OCA) this week in the OCAJP forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

how to create our own wbapplication

 
sunanda kadam
Ranch Hand
Posts: 42
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi all,
i have created one weapplication in webapps folder containing WEB-INF folder as well.i created one servlet over there but when i started tomcat, i am getting error as http-404.......resource not found.
can anybody help me ?
 
Laxmikant Ruikar
Greenhorn
Posts: 23
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi

Check your directory structure properly, and configuration of web.xml file.

Go through http://www.onjava.com/pub/a/onjava/2001/04/19/tomcat.html URL.

Otherwise run start your tomcat, and check document for deployment of web application.

LDR
 
Amit Ghorpade
Bartender
Posts: 2854
10
Fedora Firefox Browser Java
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
i am getting error as http-404.......resource not found.


Which resource are you trying to access. The servlet or any other html file.
have you configured the servlet in the web.xml and put the class file in the classes directory.
Check if you can access the Tomcat index page.


Hope this helps
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic