You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@struts.apache.org by "Ventin, Vince" <vi...@boeing.com> on 2003/09/26 20:17:46 UTC
RequestProcessor - appConfig deprecated
I am following an example in the book Programming Jakarta Struts by
Chuck Cavaness, published by O'Reilly press.
The example is on page 227 and uses the statement:
ForwardConfig config = appConfig.findForwardConfig("Unauthorized");
When I compile I am warned that the appConfig variable in
RequestProcessor class has been deprecated.
I found that the ApplicationConfig module is renamed to ModuleConfig in
Struts 1.1 Beta 3
http://www.jsn-server3.com/struts-documentation/userGuide/release-notes-
1.1-b3.html
My question is: How do I obtain the ForwardConfig? Do I use
ModuleConfig?
Vince Ventin
---------------------------------------------------------------------
To unsubscribe, e-mail: struts-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: struts-user-help@jakarta.apache.org
Re: RequestProcessor - appConfig deprecated
Posted by Manish Singla <Ma...@Sun.COM>.
Yes, you are right... got to use ModuleConfig..
"Ventin, Vince" wrote:
> I am following an example in the book Programming Jakarta Struts by
> Chuck Cavaness, published by O'Reilly press.
>
> The example is on page 227 and uses the statement:
> ForwardConfig config = appConfig.findForwardConfig("Unauthorized");
>
> When I compile I am warned that the appConfig variable in
> RequestProcessor class has been deprecated.
>
> I found that the ApplicationConfig module is renamed to ModuleConfig in
> Struts 1.1 Beta 3
> http://www.jsn-server3.com/struts-documentation/userGuide/release-notes-
> 1.1-b3.html
>
> My question is: How do I obtain the ForwardConfig? Do I use
> ModuleConfig?
>
> Vince Ventin
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: struts-user-unsubscribe@jakarta.apache.org
> For additional commands, e-mail: struts-user-help@jakarta.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: struts-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: struts-user-help@jakarta.apache.org