Add a welcome-file-list element to file web.xml
Before you begin
About this task
To ensure that it is possible for WebSphere
to access PolicyCenter start
file index.html, add a
welcome-file-list element
to file web.xml.
Procedure
-
Launch Guidewire Studio:
- Open a command prompt and navigate to the PolicyCenter installation directory.
-
Execute
the following command:
- gwb Studio
-
In the PolicyCenter Project window, expand :
-
Open
web.xmlS. -
At the bottom of the file, just before the
</web-app>tag, add the following text:<welcome-file-list> <welcome-file>index.html</welcome-file> <welcome-file>index.htm</welcome-file> <welcome-file>index.jsp</welcome-file> </welcome-file-list> -
Add
servletdefinitions as needed.Review the defined servlets for an example.
-
Add a
servlet-mappingdefinition for each servlet that you add.Review the defined servlets for an example.
-
Open
- Save your changes and close web.xml.
What to do next
After completing this procedure, proceed to Generate the PolicyCenter EAR file for WebSphere.
