954,574 Members — Technology Publication meets Social Media
Username:
Password:
Lost login information?
Have something to say? Contribute New Article Reply to this Article

Testing servlet in eclipse on tomcat server

I am trying to setup a tomcat server in eclipse galileo java ee to test a servlet. I have web tools installed also. I created a server but when I go to my web browser and go to http://localhost:8080 I get an http status 404 error.

My server is started in eclipse. When I open the server overview page it won't let me change any of the options in the Server Locations section.

Does anyone know what is going on here? Is there something else I have to do to get tomcat working?

kinger29
Light Poster
36 posts since Mar 2008
Reputation Points: 11
Solved Threads: 2
 

I solved the problem, in tomcat 6.0.20 http://localhost:8080 points to C:\...\workspace\.metadata\.plugins\org.eclipse.wst.server.core\tmp0\wtpwebapps

kinger29
Light Poster
36 posts since Mar 2008
Reputation Points: 11
Solved Threads: 2
 

Hi,
I am also trying to setup a tomcat server in eclipse galileo java ee to test a simple JSP page. I have similar problem, but no solution to it.
It gives me same error. So, if i want to see http://localhost:8080/Project/WEB-INF/Hello.jsp , it gives me error page

HTTP Status 404 - /Project/WEB-INF/Hello.jsp


.
I have tried to change server location (default server location was "use workspace metadata") , so if I put option "use Tomcat installation", it gives me Tomcat default page on http://localhost:8080 ,
but for Hello. jsp it gives me same error. Last option "use custom location" isn't even available.
Can you please help me if you have succedeed to resolve it?
I have tried other related problems, but they were solved in other version of Eclipse where this problem is solved by uncheking box
"Run modules directly from the workspace". I don't see this option here, so I am stuck. :(

Thanks.

Capra
Newbie Poster
6 posts since Sep 2009
Reputation Points: 10
Solved Threads: 0
 

This question has already been solved

Post: Markdown Syntax: Formatting Help
You