facebook

default new servlet template file

  1. MyEclipse IDE
  2.  > 
  3. General Development
Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • #199266 Reply

    roehld
    Member

    I would like to be able to modify the default servlet template that is used to generate a new servlet e.g. file –>new –> servlet.
    This is the default template the servlet wizard applies.
    What is the name/location of the file I should be looking for?

    Thanks in advance

    #199311 Reply

    Scott Anderson
    Participant

    Looks like I missed this one. Sorry for the delay in responding.

    Yes, you can change the default template, but not through MyEclipse itself. All the templates live in under the MyEclipse installation in <myeclipse>/eclipse/plugins/com.genuitec.eclipse.wizards_2.6.2/Templates/Servlet.java. Rather than replacing the default template, you can also add more of your own. The documentation on how to do that is in the ‘docs’ folder in the same plugin.

    Please remember that this will be an unsupported configuration so that each time you update MyEclipse you’ll need to reapply your change. On the other hand, if you come up with a killer default servlet and don’t mind us using it, it could become the default. 🙂

    –Scott
    MyEclipse Support

Viewing 2 posts - 1 through 2 (of 2 total)
Reply To: default new servlet template file

You must be logged in to post in the forum log in