This week's giveaway is in the Android forum.
We're giving away four copies of Android Security Essentials Live Lessons and have Godfrey Nolan on-line!
See this thread for details.
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


Win a copy of Android Security Essentials Live Lessons this week in the Android forum!
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
Author

Best way to create JSP in Eclipse

William Brogden
Author and all-around good cowpoke
Rancher

Joined: Mar 22, 2000
Posts: 12761
    
    5
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.

Bill
Peter Johnson
author
Bartender

Joined: May 14, 2008
Posts: 5812
    
    7

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
Hi,

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
 
Similar Threads
Prob. in Creating Web project in Eclipse
Sysdeo Tomcat Plugin
Servlet wizard plugin for Eclipse?
Developing JSP in Eclipse Europa (Eclipse SDK 3.3)
eclipse galileo + m2eclipse + enterprise application