>>
>>My problem is when im in my module called "module1", it seems action mapping is 
>schearching for actions in my default struts-congig.xml file?...
>>
>What makes you say this?  Which build are you using?  You probably want 
>to be using a nightly build if you're using modules.  There was a bug 
>for a while that is fixed in the nightly build.
>

I'm not aware of this bug fix. I'm using struts 1.1b2.
I think action mapping is schearching for actions in my default struts-config.xml file 
because when i put actions called in module1 in default struts-config.xml, it finds 
them...
When i put module1 actions in struts-module1.xml, it can't find any module1 action...


>>I also try to switch from my welcome page to my module1 and get : "Invalid 
>sub-application prefix activiteReduite was specified"
>>when using SwitchAction... :-(
>>
>SwitchAction takes two request parameters:
>    - prefix: the name of the module (module1 in your example)
>    - page: the action you wish to invoke
>
>It sounds to me like you gave it an invalid module name.

Yes. I agree. My problem is i gave the right module name. Perhaps, the page parameter 
is not good? I put a jsp page name in that parameter...

>
>>What did i do wrong?
>>
>>Thanks for help.
>>
>>Alexandre.
>>
>It sounds like you're setting things up right in your web.xml, etc.  I 
>don't have enough information about your two modules to formulate a 
>hypothesis about what is going wrong.  Could you elaborate?
>

Yes i can.
So, i have 2 modules : 
- default
- module1

I have my root directory for my default module and root/module1 directory for the 
other one.

In my web-inf directory, I have struts-config.xml file populated with action for 
default module and struts-module1.xml for module1 module.

my web.xml file declares my 2 module as i wrote in my first mail.

When trying to invoque an action in module1 i do :
<html:form action="myModule1Action.do">

do in need to do : 
<html:form action="/module1/myModule1Action.do"> ???

Thank for trying to help me.

Alexandre.



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

-------------------------------------------------------------
NetCourrier, votre bureau virtuel sur Internet : Mail, Agenda, Clubs, Toolbar...
Web/Wap : www.netcourrier.com
T�l�phone/Fax : 08 92 69 00 21 (0,34 � TTC/min)
Minitel: 3615 NETCOURRIER (0,15 � TTC/min)


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

Reply via email to