You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@struts.apache.org by "Struts Newsgroup (@Basebeans.com)" <st...@basebeans.com> on 2002/08/03 08:25:02 UTC

SwitchAction doesn't work?

Subject: SwitchAction doesn't work?
From: Serge Shikov <sh...@rinet.ru>
 ===
Hi!

Whats wrong with this /rules sub-app config?

<action path="/switch" type="org.apache.struts.actions.SwitchAction"/>

and this HTML:

   <form action="<context path>/rules/switch.do">
     <input type="text" name="prefix" value="/actions"/>
     <input type="text" name="page" value="/new-set.do"/>
     <input type="submit"/>
   </form>

Looks like SwitchAction doesn't work. When I submit this form, instead 
of expected /new-set.do action in /actions sub-app I see default page 
from /rules sub-app (marked by unknown='true' attribute in config).


--
To unsubscribe, e-mail:   <ma...@jakarta.apache.org>
For additional commands, e-mail: <ma...@jakarta.apache.org>