deprecated perform in org.apache.struts.action.Action class
1 posts in topic
Flat View  Flat View
TOPIC ACTIONS:
 

Posted By:   Poorav_Chaudhari
Posted On:   Wednesday, January 30, 2002 02:47 PM

To use the LabelValueBean class, i downloaded the latest struts.jar file and replaced my old one with it. now when i compile an Action class, it complains that the perform method is deprecated. the exact error i got was. GetNameAction.java:25: warning: perform(org.apache.struts.action.ActionMapping,org.apache.struts.action.ActionForm, javax.servlet.http.HttpServletRequest,javax.servlet.http.HttpServletResponse) in org.apache.struts.action.Action has been deprecated public ActionForward perform(ActionMapping mapping,ActionForm form, is there a version of struts.jar i could use that has the LabelValueBean class and also the perform method hasn't deprecated. or if someone could send me the altern   More>>

To use the LabelValueBean class, i downloaded the latest struts.jar file and replaced my old one with it. now when i compile an Action class, it complains that the perform method is deprecated. the exact error i got was.

			
GetNameAction.java:25: warning: perform(org.apache.struts.action.ActionMapping,org.apache.struts.action.ActionForm,
javax.servlet.http.HttpServletRequest,javax.servlet.http.HttpServletResponse)
in org.apache.struts.action.Action has been deprecated

public ActionForward perform(ActionMapping mapping,ActionForm form,



is there a version of struts.jar i could use that has the LabelValueBean class and also the perform method hasn't deprecated. or if someone could send me the alternative for the perform method.

appreciate your help in advance.

thanks
poorav    <<Less

Re: deprecated perform in org.apache.struts.action.Action class

Posted By:   Ted_Husted  
Posted On:   Sunday, February 3, 2002 06:34 PM

The JAR here should have want you want.


It may be too early to switch over to the non-deprecated
version of perform (execute).


HTH -Ted

About | Sitemap | Contact