John...

You most certainly can. I used to do it by putting a redirect in that
index.jsp file to forward to a mapping configured in a
struts-config.xml file. This could be done with a scriptlet using the
response object or by using a customer tag. There are a bunch of tag
libraries with redirect functionalities. I used JSTL core for it.

However, there's a better way that I've recently discovered. As of
struts 1.1 (I think), you can set the "unknown" attribute equal to
"true" in one of your action mappings and that will be considered the
default mapping for your application.

Simple Example:
<action path="/default" forward="defaultLayout" unknown="true"/>

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

Reply via email to