Normally I forward to an default action from the page xy.de/myProjekt/index.jsp

The index.jsp is in the Home directory and all other JSPs are located in a JSP directory which is protected. The home directory is not protected.

Regards

Sebastian Hennebrueder

----

http://www.laliluna.de

Tutorials for JSP, JavaServer Faces, Struts, Hibernate and EJB

Erik Weber wrote:
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]


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



Reply via email to