Quantcast
Channel: JavaPins - Stories tagged with configure
Viewing all articles
Browse latest Browse all 7

Configure a welcome page in Struts

$
0
0
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...
Pin it

Viewing all articles
Browse latest Browse all 7

Trending Articles