Home » Newcomers » Newcomers » Help :) (Servlet Does not put in Constructor Or any of the method stubs selected)
Help :) [message #495181] Tue, 03 November 2009 21:31 Go to next message
No Real Name  is currently offline No Real Name
Messages: 1
Registered: November 2009
Junior Member
I have been using Eclipse for awhile now, and I use Rationale at work. This one is boggling me though, when I create a new class, it generates the default information, (package) and basic constructor. However, if I create a Servlet, there is no error but it just creates a blank page, (no constructor, no doPost, doGet, nothning at all. Any ideas on a setting, I have tried to uninstall and reinstall Eclipse.

Shawn
Re: Help :) [message #495195 is a reply to message #495181 ] Wed, 04 November 2009 01:43 Go to previous messageGo to next message
Walter Harley  is currently offline Walter Harley
Messages: 571
Registered: July 2009
Senior Member
malibu368.gmail.com wrote:
> I have been using Eclipse for awhile now, and I use Rationale at work.
> This one is boggling me though, when I create a new class, it generates
> the default information, (package) and basic constructor. However, if I
> create a Servlet, there is no error but it just creates a blank page,
> (no constructor, no doPost, doGet, nothning at all. Any ideas on a
> setting, I have tried to uninstall and reinstall Eclipse.
> Shawn

Generally these things are controlled by templates, which are stored in your
workspace settings rather than in Eclipse. So reinstalling Eclipse probably
won't do anything. If you create a new workspace, does the problem persist? If
it goes away, you may need to try restoring default settings in your existing
workspace, or else create a new workspace and reimport your projects into it.
Re: Help :) [message #495479 is a reply to message #495181 ] Wed, 04 November 2009 21:01 Go to previous message
Lars Vogel  is currently offline Lars Vogel
Messages: 517
Registered: July 2009
Senior Member
Hi,

you could follow this tutorial:
http://www.vogella.de/articles/EclipseWTP/article.html

Best regards, Lars

--
http://www.vogella.de/ - Eclipse plugin and Eclipse RCP Tutorials
http://www.twitter.com/vogella - vogella on Twitter


malibu368.gmail.com wrote:
> I have been using Eclipse for awhile now, and I use Rationale at work.
> This one is boggling me though, when I create a new class, it generates
> the default information, (package) and basic constructor. However, if I
> create a Servlet, there is no error but it just creates a blank page,
> (no constructor, no doPost, doGet, nothning at all. Any ideas on a
> setting, I have tried to uninstall and reinstall Eclipse.
> Shawn
Previous Topic:Search text in files
Next Topic:getting error while creating emf model in RAP app
Goto Forum: