aspose file tools*
The moose likes IDEs, Version Control and other tools and the fly likes Newbie -  Some Question on Eclipse and tomcat. Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login

Win a copy of Java 8 in Action this week in the Java 8 forum!
JavaRanch » Java Forums » Engineering » IDEs, Version Control and other tools
Bookmark "Newbie -  Some Question on Eclipse and tomcat." Watch "Newbie -  Some Question on Eclipse and tomcat." New topic

Newbie - Some Question on Eclipse and tomcat.

babu thannasi

Joined: Feb 26, 2006
Posts: 9
i am a new user for Using Eclipse with Tomcat in a project. Eventhough, i have used Tomcat alone for my certification purpose, i have not used Tomcat and Eclipse together.

now i have a web appliaction , for which i have created a project, and imported my code ( with Src (all my servlets,business objects) and web folders ( where i have ( jsps,html,web.xml) ) from CVS.

now when i click run on server on my project. i am getting 404 in the webbrowser.
Since the context root of my project is "myProject" (which is also my project name)
for this url http://localhost:8080/myProject/ i am getting 404.

note :
1)i am not getting any error on console either in tomcat startup nor after invocation.
iam getting follwing message in the console." Servlet 'fulfillment' configured successfully"

2)now under Servers directry in eclipse i could see web.xml ( which is
looks like tomcat default web.xml)

3)my web.xml in the web directory under myProject directory has welcomefile entry. and there is no entry for /myProject.

Am i missing something ??

pls help
Jeanne Boyarsky
internet detective

Joined: May 26, 2003
Posts: 29274

Which plugin are you using to get Tomcat support in Eclipse?

[Blog] [JavaRanch FAQ] [How To Ask Questions The Smart Way] [Book Promos]
Blogging on Certs: SCEA Part 1, Part 2 & 3, Core Spring 3, OCAJP, OCPJP beta, TOGAF part 1 and part 2
It is sorta covered in the JavaRanch Style Guide.
subject: Newbie - Some Question on Eclipse and tomcat.
Similar Threads
Struts Application not running
Help to find the error.
where to store the .htm files related to the servlet
Problems with a project with Netbeans
the application is not deployed on tomcat in eclipse