I have struts application that works with spring. I do have few questions

my struts-config.xml looks like this...
..
   <action path  = "/cai/clie/priusacquiro"
             type  = "org.springframework.web.struts.DelegatingActionProxy"
             name  = "LoginForm"
             scope = "request" validate="false" >
       <forward name = "french_login" path = "french.login"/>
       <forward name = "english_login" path = "english.login"/>
    </action>

what should I setup controller as:

<controller pagePattern="$M$P" processorClass="org.springframework.web.struts.DelegatingTilesRequestProcessor" nocache="true" locale="true" /> or

<controller pagePattern="$M$P" processorClass="org.apache.struts.tiles.TilesRequestProcessor" nocache="true" locale="true" />
what is the difference??

I got strutsTestcase almost working with spring wired actions. On that front I have one question:

How do I find forward name and path from programetically:

TilesRequestProcessor tilesProcessor = (TilesRequestProcessor)this.context.getAttribute("org.apache.struts.action.REQUEST_PROCESSOR");

does return null .

what I want to do is given the forward name, find the path. basically get the struts-config.xml



thanks

rukka







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

Reply via email to