This week's book giveaway is in the OCAJP forum. We're giving away four copies of OCA Java SE 8 Programmer I Study Guide 1Z0-808 and have Jeanne Boyarsky & Scott Selikoff on-line! See this thread for details.
I have an index.html page. I put this file in Project1Web\resource and I added the following to web.xml within <web-app> tag: <welcome-file-list> <welcome-file>resource/index.html</welcome-file> </welcome-file-list>
This makes no sense. The welcome file list declares file names (not paths) to look for in a referenced folder. It makes no sense to have the resource/ folder defined.
If you are trying to redirect to the resource folder when the root of the web app is referenced, you can't do it with the welcome file mechanism. You'd need to put in index.html at the root that redirected into the resources/ folder.
See here. [ November 16, 2005: Message edited by: Bear Bibeault ]
Joined: Nov 15, 2005
I didn't know too much about this. I am just a beginner. It make sense after reading your reply. I got rid off "/resources" and it works. Thank you very much