Hi,

This must be some oversight on my part, tried looking in the list-archive
but had no luck. Seems like a trivial problem, but any help is greatly
appreciated.

I've always used servlet.findForward to return control to the correct
jsp-page (via struts-config.xml) in my Action-classes in the perform method.
I recently upgraded to Struts 1.1b2 (I know I probably should upgrade to b3
now) and noticed that perform was deprecated and I was refered to use
Action.execute instead, no problem.

What gives me problems is that ActionServlet.findForward is also deprecated
and I'm supposed to use applicationConfig.findForwardConfig (this class has
changed name i b3, right? My problem will still be there though) instead.

Problem:
Action.execute wants an ActionForward in the return statement,
servlet.findForward returned this. ApplicationConfig.findForwardConfig()
returns an ForwardConfig. What am I supposed to do with this object to be
able to return an ActionForward-object?


kind regards,
        martin





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

Reply via email to