I am trying to setup security in my web application and following this tutorial
Under section "Configuring Server Deployment Descriptors"
when I following following instructions.
In the Projects window, expand the project's Configuration Files node and double-click glassfish-web.xml. The glassfish-web.xml deployment descriptor opens in a special tabbed editor for GlassFish deployment descriptors.
Select the Security tabto reveal the security roles.
When I double click, I only see xml file source instead GUI version as above. my glassfish-web.xml file looks like this.
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE glassfish-web-app PUBLIC "-//GlassFish.org//DTD
GlassFish Application Server 3.1 Servlet 3.0//EN"
"http://glassfish.org/dtds/glassfish-web-app_3_0-1.dtd">
<glassfish-web-app>
<session-config>
<session-manager/>
</session-config>
<resource-ref>
<res-ref-name>mail/Session</res-ref-name>
<jndi-name>mail/Session</jndi-name>
</resource-ref>
<jsp-config/>
</glassfish-web-app>
What should I change in my glassfish-web.xml file to get GUI version?
NOTE: My web.xml file is showing the GUI tabs fine. Its only glassfish-web.xml is not showing GUI tabs.