954,545 Members — Technology Publication meets Social Media
Username:
Password:
Lost login information?
Have something to say? Contribute New Article Reply to this Article

deprecation in ActionError in struts

Hi all,
this is ganesh,working on struts,like to clear my doubt in struts.

My coding is :

ActionErrors errors = new ActionErrors();
errors.add( ActionErrors.GLOBAL_ERROR,new ActionError("err.nodatafound"));
saveErrors( request,errors);


this coding is working fine but it shows waring named as "deprecation" ,letme know how to clear this,thanks in advance.

hereby,
ganesh.

ganesh.vadivel
Newbie Poster
1 post since Apr 2006
Reputation Points: 10
Solved Threads: 0
 

You can clear this warning by not using the method it says is deprecated. It basically means the method is no longer the preferred way, and it may be removed in future releases of jsdk.

Phaelax
Practically a Posting Shark
858 posts since Mar 2004
Reputation Points: 92
Solved Threads: 51
 

This article has been dead for over three months

Post: Markdown Syntax: Formatting Help
You