943,694 Members | Top Members by Rank

Ad:
  • JSP Discussion Thread
  • Marked Solved
  • Views: 2214
  • JSP RSS
Aug 20th, 2009
0

Testing servlet in eclipse on tomcat server

Expand Post »
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?
Similar Threads
Reputation Points: 11
Solved Threads: 2
Light Poster
kinger29 is offline Offline
35 posts
since Mar 2008
Aug 20th, 2009
0

Re: Testing servlet in eclipse on tomcat server

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
Reputation Points: 11
Solved Threads: 2
Light Poster
kinger29 is offline Offline
35 posts
since Mar 2008
Sep 1st, 2009
0

Re: Testing servlet in eclipse on tomcat server

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
JSP Syntax (Toggle Plain Text)
  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.
Reputation Points: 10
Solved Threads: 0
Newbie Poster
Capra is offline Offline
6 posts
since Sep 2009

This thread is solved

Either the thread starter or a moderator has marked this thread as solved. You can most likely trust the responses and answers given. There is most likely no reason for any further responses to be posted here. If you have a related question, please start a new thread in this forum instead.

This thread is more than three months old

No one has posted to this discussion for at least three months. Please let old threads die and do not reply to them unless you feel you have something new and valuable to contribute that absolutely must be added to make the discussion complete. Otherwise, please start a new thread in this forum instead.
Message:
Previous Thread in JSP Forum Timeline: display data in index.jsp
Next Thread in JSP Forum Timeline: how to run my files in web browser





About Us | Contact Us | Advertise | Acceptable Use Policy
Forum Index | Build Custom RSS Feed


Follow us on Twitter


© 2011 DaniWeb® LLC