jQuery in Action, 3rd edition
The moose likes IDEs, Version Control and other tools and the fly likes Best way to create JSP in Eclipse Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Engineering » IDEs, Version Control and other tools
Bookmark "Best way to create JSP in Eclipse" Watch "Best way to create JSP in Eclipse" New topic

Best way to create JSP in Eclipse

William Brogden
Author and all-around good cowpoke

Joined: Mar 22, 2000
Posts: 13036
I am trying to get started with a simple servlet project using Eclipse "Ganymede" and Google's Appengine plugin.

Eclipse has created a directory structure and starting servlet for me - there is even an index.html - so far so good.

Now I want to add a JSP to the project but there does not seem to be any "JSP" item on any of the "new" menus!

What am I missing here? Surely people create JSP with Eclipse all the time!

I attempted to install the Web Tools (WTP) plugin but Eclipse keeps saying I am missing something with incomprehensible error messages.

Peter Johnson

Joined: May 14, 2008
Posts: 5852

If there is no specific JSP entry, you can always create a text file and change the extension to .jsp.

When you downloaded Eclipse, did you download the "Eclipse for Java EE Developers" variant? That has everything necessary for building web apps, include creating JSP files. Usually trying to figure out what you need to add to the bare-bones Eclipse download to get the added web capabilities is not worth the effort (it would be so much nicer if Eclipse offered to download the missing dependencies for you, like the Linux package managers do...)

JBoss In Action
Lars Vogel
Ranch Hand

Joined: Oct 10, 2007
Posts: 55

Eclipse WTP provides all you need for JSP development. In case you have problems with the update manager download a fresh copy of Eclipse IDE for Java EE Developers from Eclipse Download Site.

Best regards, Lars

Tutorials about Java, Eclipse and Webprogramming http://www.vogella.de
I agree. Here's the link: http://aspose.com/file-tools
subject: Best way to create JSP in Eclipse
It's not a secret anymore!