Testing servlet in eclipse on tomcat server

Thread Solved

Join Date: Mar 2008
Posts: 31
Reputation: kinger29 is an unknown quantity at this point 
Solved Threads: 1
kinger29 kinger29 is offline Offline
Light Poster

Testing servlet in eclipse on tomcat server

 
0
  #1
Aug 20th, 2009
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?
Reply With Quote Quick reply to this message  
Join Date: Mar 2008
Posts: 31
Reputation: kinger29 is an unknown quantity at this point 
Solved Threads: 1
kinger29 kinger29 is offline Offline
Light Poster

Re: Testing servlet in eclipse on tomcat server

 
0
  #2
Aug 20th, 2009
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
Reply With Quote Quick reply to this message  
Join Date: Sep 2009
Posts: 6
Reputation: Capra is an unknown quantity at this point 
Solved Threads: 0
Capra Capra is offline Offline
Newbie Poster

Re: Testing servlet in eclipse on tomcat server

 
0
  #3
Sep 1st, 2009
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
  1. 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.
Reply With Quote Quick reply to this message  
Reply

This thread has been marked solved.
Perhaps start a new thread instead?
Message:




Views: 839 | Replies: 2
Thread Tools Search this Thread



Tag cloud for JSP
About Us | Contact Us | Advertise | DaniWeb | Acceptable Use Policy | RSS Feed

©2003 - 2009 DaniWeb® LLC