You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@struts.apache.org by "Jason L. West, Sr." <jl...@aol.com> on 2004/06/04 18:25:19 UTC

Deprecated Method

I am finishing up a series of WROX books that are focused on the
JSP/J2EE development with the last book of the series focusing on
developing Struts Applications.  Unfortunately the series was published
in early 2002 with focus on the Struts version 1.0.

One of the methods the book talks about has been deprecated with the
release of Struts version 1.1.  What I would like to know is new or
better method of doing the following:

public void reset(ActionMapping mapping, HttpServletRequest request) {
     ActionServlet servlet =  this.getServlet();
     MessageResources messageResources = servlet.getResources(); //
Deprecated

     storyTitle = 
messageResources.getMessage("javaedge.poststory.title.instructions");
     storyIntro =
messageResources.getMessage("javaedge.poststory.intro.instructions");
     storyBody  =
messageResources.getMessage("javaedge.poststory.body.instructions");
}

Any insight would be helpful.

Thanks
Jason L. West, Sr.
Internet Application Specialist, Sr.


---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@struts.apache.org
For additional commands, e-mail: user-help@struts.apache.org