Eclipse Web Tools Platform 3.1 M6 - New and Noteworthy

Back

Java EE Tools

Easier creation of new Servlets from existing Servlets and JSP pages

    The Create Servlet wizard is improved to suggest better default values, based on the current selection in the Project Explorer .

    For example, if you right click on an existing JSP file and call the New > Servlet action...

    New Servlet from JSP action menu

    ... then the first page of the Create Servlet wizard suggests to create a new Servlet definition from the selected JSP page. This way users are able to complete to operation with just a single click on the Finish button and avoid configuring these options by themselves.

    New Servlet from JSP wizard

Easier creation of new Filters from existing Servlets and JSP pages

    The Create Filter wizard is improved in a similar way. It suggest better default values, based on the current selection.

    For example, if you right click on an existing Servlet node and call the New > Filter action...

    New Filter from Servlet action menu

    ... then the first page of the Create Filter wizard suggests to create a new Filter class that maps to the selected Servlet. This way users are able to complete to operation with just a single click on the Finish button and avoid configuring these options by themselves.

    New Filter from Servlet wizard