Uploaded image for project: 'Tools (JBoss Tools)'
  1. Tools (JBoss Tools)
  2. JBIDE-19395

Default template code for Servlet

XMLWordPrintable

    • Icon: Enhancement Enhancement
    • Resolution: Done
    • Icon: Major Major
    • 4.3.0.Beta1
    • 4.3.0.Alpha1
    • upstream
    • None

      It would be nice to have a default template code generated for Servlet. This will make the generated Servlet a little bit more useful, and much easier to showcase in demos.

      For example, here is one template that could be generated in doGet():

      response.getOutputStream().print("Served at: " + request.getContextPath());

      And doGet() called from doPost().

        1. servlet.png
          44 kB
          Alexey Kazakov

            dazarov_jira Daniel Azarov (Inactive)
            arungupta_jira Arun Gupta (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

              Created:
              Updated:
              Resolved: