Created
February 8, 2020 19:56
-
-
Save jrbalsas/271e8188cefc00bdb31a765040f570e7 to your computer and use it in GitHub Desktop.
web.xml JEE standard deploy descriptor compatible with Netbeans 11.2 edit wizard
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?xml version="1.0" encoding="UTF-8"?> | |
<web-app version="3.0" | |
xmlns="http://java.sun.com/xml/ns/javaee" | |
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" | |
xsi:schemaLocation="http://java.sun.com/xml/ns/javaee http://java.sun.com/xml/ns/javaee/web-app_3_0.xsd"> | |
<session-config> | |
<session-timeout> | |
30 | |
</session-timeout> | |
</session-config> | |
</web-app> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Problem
Netbeans 11.2 does not allow to use web.xml edit wizard, xml check and validation when it is used with javaee schemas with versions >3.0 (e.g. http://xmlns.jcp.org/xml/ns/javaee version 4.0).
Workaround
Use an old version of schema compatible with netbeans web.xml wizard. IMPORTANT: close and reopen project after change web.xml schemas to enable wizard