Uploaded image for project: 'NetBeans'
  1. NetBeans
  2. NETBEANS-6359

JSP encoding detection does not take web.xml into account

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Open
    • Trivial
    • Resolution: Unresolved
    • 12.0, 12.2
    • None
    • javaee - JSP
    • None

    Description

      The JSP encoding detection works well when the JSP files includes

      {{ <%@ page pageEncoding="UTF-8" %>}}

      but when the    <jsp-config> from  web.xml is ignored.

      I have a project with the web.xml including :

          <jsp-config>
              <jsp-property-group>
                  <description>Config. de l'encodage des pages JSP</description>
                  <url-pattern>*.jsp</url-pattern>
                  <page-encoding>UTF-8</page-encoding>
              </jsp-property-group>
          </jsp-config>

       

      And my JSP files are opened as ISO8859-1 by netbeans.

      Attachments

        Activity

          People

            Unassigned Unassigned
            thbernard Thomas Bernard
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated: