-
1. Re: I need change index.html to home.jsp when i open project
abucs01 Mar 29, 2010 10:11 AM (in response to abucs01)Any body can help me out?........
-
2. Re: I need change index.html to home.jsp when i open project
mwohlf Mar 29, 2010 1:32 PM (in response to abucs01)did you try <welcome-file-list> in web.xml ?
-
3. Re: I need change index.html to home.jsp when i open project
reis.tiago Mar 29, 2010 2:58 PM (in response to abucs01)If you add the page that you want in the top position of welcome-file-list it should work
-
4. Re: I need change index.html to home.jsp when i open project
abucs01 Mar 29, 2010 5:00 PM (in response to abucs01)i added like this in top portion of web.xml
<welcome-file-list>
<welcome-file>home.jsp</welcome-file>
</welcome-file-list>
HTTP Status 403 - Access to the requested resource has been denied
instead of home.jsp i gave index.html it is working. -
5. Re: I need change index.html to home.jsp when i open project
reis.tiago Mar 29, 2010 5:57 PM (in response to abucs01)I'm not completely sure about this, but can you check in web.xml if your servlet-mapping is mapping .jsp and security-constraint doesn't contain any reference to jsp.
Its a wild guess, I'm not sure of the above, just trying to help :-)
-
6. Re: I need change index.html to home.jsp when i open project
kragoth Mar 30, 2010 1:13 AM (in response to abucs01)I'm sorry, but if you wrote this:
aboo salimon wrote on Mar 27, 2010 11:37:
Hi All,
when i open my project index.html is called and from there i is redirecting to home.jsp like this
In index.html page :<meta http-equiv="Refresh" content="0; URL=home.seam"/>
Why did you then do this:
<welcome-file-list> <welcome-file>home.jsp</welcome-file> </welcome-file-list>
You have said your index.html should redirect to home.seam soooo, shouldn't you say make your welcome-file-list redirect to home.seam too?
<welcome-file-list> <welcome-file>home.seam</welcome-file> </welcome-file-list>
I could be way off base here though. So, sorry if that's the case.
-
7. Re: I need change index.html to home.jsp when i open project
kragoth Mar 30, 2010 1:23 AM (in response to abucs01)Bleh, ignore my reply.... forgot how the welcome-file-list works. What I said will not work ever. :P