struts-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Lukasz Lenart" <lukasz.len...@googlemail.com>
Subject Re: welcome-file config
Date Wed, 28 May 2008 15:27:24 GMT
Sorry, I've made big mistake I'm sure it works for me, I have to make some
investigation with that ;-)

Try something like this

-------------- web.xml -------------------

    <welcome-file-list>
        <welcome-file>index.jsp</welcome-file>
    </welcome-file-list>

create index.jsp file on the top of you web folder (/) with such content

---------------- index.jsp -----------------
<% response.sendRedirect("index.action"); %>


Regards
-- 
Lukasz

http://www.linkedin.com/in/lukaszlenart
http://jdn.pl/blog/416
http://www.lenart.org.pl/

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message