Instead of 
> ActionMapping nextMapAction =
> this.getServlet().findMapping("/createadvertisement");

try
ActionConfig nextMapAction = ModuleUtils.getInstance().
        getModuleConfig(request).findActionConfig("/createadvertisement");

Hubert

On 6/9/05, Thibaut Lassalle <[EMAIL PROTECTED]> wrote:
> hi,
> i have to migrate a struts1.0 application to struts1.2 (for module support)
> 
> i can't find any equivalent to set a bean. Here is the code i try to
> migrate :
> 
> ActionMapping nextMapAction =
> this.getServlet().findMapping("/createadvertisement");
> request.setAttribute(nextMapAction.getAttribute(), avertisementForm);
> return new ActionForward(mapping.getInput(), false);
> 
> 
> -Thanks in Advance
> Thibaut

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

Reply via email to