Thomas Bernard created NETBEANS-6359:
----------------------------------------

             Summary: JSP encoding detection does not take web.xml into account
                 Key: NETBEANS-6359
                 URL: https://issues.apache.org/jira/browse/NETBEANS-6359
             Project: NetBeans
          Issue Type: Bug
          Components: javaee - JSP
    Affects Versions: 12.0
            Reporter: Thomas Bernard


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.



--
This message was sent by Atlassian Jira
(v8.20.1#820001)

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

For further information about the NetBeans mailing lists, visit:
https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists

Reply via email to