I am restricting *.jsp in web.xml. ActionServlet is mapped to /foo/*.

I would like to use a welcome file so that a URL of http://host:port/app
will resolve to the index page. However, the index page is a JSP, so
it's not accessible directly. So basically what I need is a "welcome
file" that actually resolves to an unprotected Action mapping. Something
like this:

 <welcome-file-list>
   <welcome-file>/foo/index.html</welcome-file>
 </welcome-file-list>

. . .

 <action-mappings>
   <action path="/index.html" forward="/index.jsp"/>
 </action-mappings>

How can I accomplish this (assuming no Apache Web Server in front)?

Thanks,
Erik



---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Reply via email to