Every website need a welcome or default page as an entry point. Here’s 3 ways to configure a welcome page in Struts. Download this Struts welcome file example – Struts-Welcome-File-Example.zip1. index.jsp
The simplest way is create a “index.jsp” page and put it same level with the WEB-INF folder, project root folder.
Access the project roothttp://localhost:8080/StrutsExample/
It will default to index.jsp internally.http://localhost:8080/StrutsExample/index.jsp2. web.xml welcome file
Declare a welcome...
↧