Customizing web.xml in the web UI framework
You can customize web.xml files in the web UI framework by first creating an EAR or WAR file.
Procedure
- Run the buildear or buildwar utility to create the EAR/WAR file.
- Copy the web.xml.sample file from the <INSTALL_DIR>/repository/eardata/<package-name>/extn directory to the same directory with the file name "web.xml".
- Modify the newly created web.xml files as needed.
- If you need to add a new servlet or filter, package it in a jar file and run the <INSTALL_DIR>/bin/install3rdParty.sh script to include this jar file in a classpath.
- Run the buildear or buildwar utility to create the EAR/WAR file.