Important Notice: Our web hosting provider recently started charging us for additional visits, which was unexpected. In response, we're seeking donations. Depending on the situation, we may explore different monetization options for our Community and Expert Contributors. It's crucial to provide more returns for their expertise and offer more Expert Validated Answers or AI Validated Answers. Learn more about our hosting issue here.

How do I add a JSP file in the welcome-file-list if the jsp is in a sub-directory?

file JSP
0
Posted

How do I add a JSP file in the welcome-file-list if the jsp is in a sub-directory?

0

Let’s assume the name of your file as xx.jsp and this sits inside your web\jsp\one sub-directory. Assuming you are deploying your Web application using the standard J2EE WAR format, you may add the file to the welcome file list in the web deployment descriptor file, web.xml: web/jsp/one/xx.jsp The directory web/jsp/one is relative to your web module home.

Related Questions

What is your question?

*Sadly, we had to bring back ads too. Hopefully more targeted.

Experts123