Can you explain what you are trying to accomplish ? 
If you are trying to switch action depending on the 1st action's behavior, you can have
"forward" element pointing to different action-mapping, which passes control to 2nd 
action irrespective of the location of the action-mapping in multiple config files.


Laurent MARQUEZ <[EMAIL PROTECTED]> wrote:

Hi, i want to use switchaction in my 2 struts-config.xml
But i don't understand, How should i configure my struts-config.xml with
SwitchAction?
##############
In struts-config.xml
##############

type="org.apache.struts.actions.SwitchAction"
prefix="???"
page="???"/>


############## In web.xml ##############


config


/WEB-INF/struts-config.xml




config/project


/WEB-INF/struts-config-project.xml


##############
In tiles-def.xml
##############
path="/WEB-INF/jsp/layouts/menu.jsp" >





link="/project/manager.do" 

classtype="org.apache.struts.tiles.beans.SimpleMenuItem" /> 




##############
In struts-config-project.xml
##############

forward="/WEB-INF/jsp/project/manager.jsp">



Any help is a blessing.
Laurent.


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


---------------------------------
Do you Yahoo!?
Yahoo! SiteBuilder - Free, easy-to-use web site design software

Reply via email to