In doing JAVA based web projects using JSP in netbeans, under Web Pages folder WEB-INF folder is created.
Inside this folder there are 3 xml pages viz. sun-web.xml, web.xml & weblogic.xml.
When I clicked the web.xml page, it shows different tabs like,
- general
- servlets
- filters
- pages
- references
- security
- XML
what are the uses of these, how can I configure these settings for my web pages?
eg. in XML tab, we can set the sesion-timeout value. what can be the other uses of this web.xml and other settings??
Please explain the use of other two xml files, sun-web.xml & weblogic.xml.
Yes the
sun-web.xmlfile is for glassfish server.This file for specifying additional web app (WAR) configuration in Glassfish server.Now-a-dayssun-web.xmlfile is known asglassfish-web.xml. Get MoreAnd about the
weblogic.xmlfile is the deployment descriptor for Weblogic Server.If your Web application does not contain a weblogic.xml deployment descriptor, WebLogic Server automatically selects the default values of the deployment descriptor elements. Get more on Weblogic.xml