• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Best way to create JSP in Eclipse

 
William Brogden
Author and all-around good cowpoke
Rancher
Posts: 13064
6
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 5852
7
Android Eclipse IDE Ubuntu
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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...)
 
Lars Vogel
Ranch Hand
Posts: 55
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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

 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic