Thanks!
I wasn't typing the action path correctly
Jorge
Hubert Rabago escribió:
If it's returning null, make sure that (1) the request you're passing
for the same module, and (2) you typed your action path correctly.
The parameter should match the path of the action mapping you're
looking for:
<action-mappings>
<action path="/myAction" .../>
...
</action-mappings>
ModuleUtils.getInstance().getModuleConfig(request).findActionConfig("/myAction");
hth,
Hubert
On 5/24/05, Jorge Chacón Souto <[EMAIL PROTECTED]> wrote:
I changed it because the class ModuleUtils doesn't have a
findActionConfig method:
http://struts.apache.org/api/org/apache/struts/util/ModuleUtils.html
Dakota Jack escribió:
Just do what he said. You changed it.
On 5/24/05, Jorge Chacón Souto <[EMAIL PROTECTED]> wrote:
I suppose that you refer to doing something like this:
ModuleConfig module = ModuleUtils.getInstance().getModuleConfig(request);
ActionMappingAplicacionWeb map = (ActionMappingAplicacionWeb)
module.findActionConfig("FormularioCrearDocumento");
It returns null, I don't know why.
Any help?
Thanks,
Jorge.
Hubert Rabago escribió:
---------------------------------------------------------------------
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]