The module name in the <html:link> should start with a "/"

<html:link module="/master" action="cityAction">link</<html:link>


On Wed, 12 Jan 2005 18:39:58 +0530, sachin <[EMAIL PROTECTED]> wrote:
> hi all ,
> 
> i am implementing multiple modules in struts 1.2.4
> i have two config files which i define in web.xml like
> 
>    <init-param>
>      <param-name>config</param-name>
>      <param-value>/WEB-INF/struts-config.xml</param-value>
>    </init-param>
>    <init-param>
>      <param-name>config/master</param-name>
>      <param-value>/WEB-INF/master/master-config.xml</param-value>
>    </init-param>
> 
> and in the master-config.xml i have an action defined like ...
> 
> <action path="/cityMaster" forward="/master/cityMaster.jsp" />
> <action path="/cityAction" type="master.CityMasterAddAction"
> name="cityMasterBean" scope="request" validate="true"
> input="/cityMaster.do">
> <forward name="Success" path="/cityMaster.do" />
> </action>
> 
> but when i try to access the from with html link .. it gives error
> <html:link module = "master" action="cityAction">link</<html:link>
> 
> The error given is : no action found /cityAction
> 
> Please could tell me how to access the actions defined in modules
> 
> Sachin Hegde
> Paradyne Infotech Limited , Mumbai
> 09324546711
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
> 
>

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

Reply via email to