I would like to have a clean url for my site's home page (built with Struts) displayed to theI'm just using a simple index.jsp like this:
user.
e.g http://www.mysite.com
not http://www.mysite.com/home.do or http://www.mysite.com/index.jsp
Is there a straightforward way to accomplish this, while still processing a
Struts action in the request?
<%@ taglib uri="http://jakarta.apache.org/struts/tags-logic" prefix="logic" %>
<logic:forward name="index"/>
My stuts-config.xml then declares a global forward that defines what action gets executed for requests to index.jsp:
<global-forwards> <forward name="index" path="/home.do"/> <!-- ... --> </global-forwards>
Hope this helps, Jan
--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]