Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Language IDEs » ServerTools (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 05:18 Go to next message
Alan Feltman is currently offline Alan FeltmanFriend
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 19:23]

Report message to a moderator

Re: Newbie can't run servlet [message #1386787 is a reply to message #1386748] Fri, 20 June 2014 13:14 Go to previous messageGo to next message
Eric Rizzo is currently offline Eric RizzoFriend
Messages: 3070
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 22:43 Go to previous messageGo to next message
Nitin Dahyabhai is currently offline Nitin DahyabhaiFriend
Messages: 4434
Registered: July 2009
Senior Member

What happens when you select the Servlet, rather than the project, and "Run on Server"?

_
Nitin Dahyabhai
Eclipse Web Tools Platform
Re: Newbie can't run servlet [message #1387090 is a reply to message #1387074] Tue, 24 June 2014 05:34 Go to previous message
Alan Feltman is currently offline Alan FeltmanFriend
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: Sat Apr 20 03:48:28 GMT 2024

Powered by FUDForum. Page generated in 0.03390 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top