Mark Woon wrote:

>Mark Woon wrote:
>
>>I've just started looking at Struts, and I'm trying to figure out how to
>>set an action as the default file for the webapp?  For example, I have
>>an index.do Action, and I'd like that served by default instead of
>>index.htm[l].  Is this possible?
>>
>
>After looking at the struts-config.xml DTD (thanks, Muthu!) , it looked as if
>the unknown attribute would solve this problem, but a quick trial of
>
>    <action path="/index"
>            type="test.IndexAction"
>            unknown="true">
>    </action>
>
>showed that this isn't the solution that I'm looking for.  Am I doing something
>wrong?  Is ther another way to go about this?
>
>Thanks,
>-Mark
>
>
You can do the same thing by just having a index.jsp page that just 
forwards to your index.do servlet.

Barry




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

Reply via email to