Hello am trying to change the default start page for my dynamic project in eclipse from index.jsp to welcome.jsp. I have gone through some of the answers on web and I changed the welcome-file-list accordingly but still its not working.
my web.xml is like this:
<?xml version="1.0" encoding="UTF-8"?>
<web-app xmlns:xsi="http://ift.tt/ra1lAU" xmlns="http://ift.tt/nSRXKP" xsi:schemaLocation="http://ift.tt/nSRXKP http://ift.tt/1eWqHMP" id="WebApp_ID" version="3.0">
<display-name>Decryption</display-name>
<welcome-file-list>
<welcome-file>index.html</welcome-file>
<welcome-file>index.htm</welcome-file>
<welcome-file>index.jsp</welcome-file>
<welcome-file>default.html</welcome-file>
<welcome-file>default.htm</welcome-file>
<welcome-file>default.jsp</welcome-file>
**<welcome-file>welcome.jsp</welcome-file>**
</welcome-file-list>
</web-app>
I have edited the welcome file list and i have added <welcome-file>welcome.jsp</welcome-file>
to it. But still its not working. Any help will be appreciated.
No comments:
Post a Comment