Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Web Tools Project (WTP) » Newbie can't run servlet (Get root dir list (empty) instead of "Hello World" page )
Newbie can't run servlet [message #1386748] Fri, 20 June 2014 01:18 Go to next message
Alan Feltman is currently offline Alan Feltman
Messages: 2
Registered: June 2014
Junior Member
When I select run-as "Run on Server" on my HelloWorld servlet project, I see only an empty root dir list that begins "Directory Listing For /" instead of a page with "Hello World". I don't have a clue as to how to correct this, being a new to eclipse. Has anyone seen this before? Thanks.

(I have since found and corrected my error.)

[Updated on: Fri, 20 June 2014 15:23]

Report message to a moderator

Re: Newbie can't run servlet [message #1386787 is a reply to message #1386748] Fri, 20 June 2014 09:14 Go to previous messageGo to next message
Eric Rizzo is currently offline Eric Rizzo
Messages: 2235
Registered: July 2009
Senior Member
Moving this to the Web Tools forum.
Re: Newbie can't run servlet [message #1387074 is a reply to message #1386787] Mon, 23 June 2014 18:43 Go to previous messageGo to next message
Nitin Dahyabhai is currently online Nitin Dahyabhai
Messages: 2254
Registered: July 2009
Senior Member
What happens when you select the Servlet, rather than the project, and "Run on Server"?

---
Nitin Dahyabhai
Eclipse WTP, IBM
Re: Newbie can't run servlet [message #1387090 is a reply to message #1387074] Tue, 24 June 2014 01:34 Go to previous message
Alan Feltman is currently offline Alan Feltman
Messages: 2
Registered: June 2014
Junior Member
Hi Nitin,

Thanks for your interest in my problem. I discovered my error - I entered a package name in the project where none was needed and then failed to see the complications that were created by doing that.

Best,
Alan
Previous Topic:HTML and XML Editor Formatting strategies
Next Topic:Some toolbar items are grayed out in the xml editor but not in the java one
Goto Forum:
  


Current Time: Tue Sep 02 15:12:21 EDT 2014

Powered by FUDForum. Page generated in 0.01808 seconds