Meaningless Drivel is fun!*
The moose likes Servlets and the fly likes how to create our own wbapplication Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Murach's Java Servlets and JSP this week in the Servlets forum!
JavaRanch » Java Forums » Java » Servlets
Bookmark "how to create our own wbapplication" Watch "how to create our own wbapplication" New topic
Author

how to create our own wbapplication

sunanda kadam
Ranch Hand

Joined: Feb 26, 2008
Posts: 42
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

Joined: Nov 29, 2005
Posts: 23
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

Joined: Jun 06, 2007
Posts: 2716
    
    6

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


SCJP, SCWCD.
|Asking Good Questions|
 
 
subject: how to create our own wbapplication
 
Similar Threads
Unable to execute class file in command prompt.
java code to create a folder and save a text file in it..!!
jsp cannot call bean in websphere application server
source path help
pdf files is created in jboss bin folder.