Win a copy of Svelte and Sapper in Action this week in the JavaScript forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other all forums
this forum made possible by our volunteer staff, including ...
  • Campbell Ritchie
  • Ron McLeod
  • Paul Clapham
  • Bear Bibeault
  • Junilu Lacar
  • Jeanne Boyarsky
  • Tim Cooke
  • Henry Wong
Saloon Keepers:
  • Tim Moores
  • Stephan van Hulst
  • Tim Holloway
  • salvin francis
  • Frits Walraven
  • Scott Selikoff
  • Piet Souris
  • Carey Brown

Best way to create JSP in Eclipse

Author and all-around good cowpoke
Posts: 13078
  • 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.

Posts: 5856
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...)
Ranch Hand
Posts: 55
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator

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

Doody calls. I would really rather that it didn't. Comfort me wise and sterile tiny ad:
Thread Boost feature
    Bookmark Topic Watch Topic
  • New Topic