Hello Geertjan,

I wanted to create a GlassFish descriptor, glassfish-web.xml, not the standard web.xml, in order to change the context path of the application (action not standardized in the specification).

Richard

Le 24/09/2021 à 08:32, Geertjan Wielenga a écrit :

Is it still necessary to create a web.xml file? I believe it is optional now, for some time already.

Gj

On Fri, 24 Sep 2021 at 08:02, Richard Grin <richard.g...@univ-cotedazur.fr <mailto:richard.g...@univ-cotedazur.fr>> wrote:

    Hello,

    NetBeans 12.5.

    In a Jakarta EE 8 Web project (with Payara Server 5.2021.7), New >
    GlassFish > GlassFish descriptor does not create a file
    glassfish-web.xml

    There is not such file in the WEB-INF directory. No error message in
    NetBeans.

    It is also not possible to change the context path with the run
    properties of the project.

    Do you confirm?

    It is possible to add a glassfish-web.xml to change the context
    path but
    not with the help of NetBeans (you have to know the doctype).

    Richard


    ---------------------------------------------------------------------
    To unsubscribe, e-mail: users-unsubscr...@netbeans.apache.org
    <mailto:users-unsubscr...@netbeans.apache.org>
    For additional commands, e-mail: users-h...@netbeans.apache.org
    <mailto:users-h...@netbeans.apache.org>

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

Reply via email to