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.

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.

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.