API Overview API Index Package Overview Direct link to this page
Struts 1.3
  org.apache.struts.util. ResponseUtils View Source
Author(s)
Since
Version
$Rev: 471754 $ $Date: 2005-08-21 14:46:28 -0400 (Sun, 21 Aug 2005) $
Serial
Hierarchy
 Object
      ResponseUtils
Implements
Subclasses
Description
public class ResponseUtils
General purpose utility methods related to generating a servlet response in the Struts controller framework.
See also:   
Constructors
public ResponseUtils ()
Methods
Hide/Show inherited methods
publicstatic String encodeURL (String url)
  URLencodes a string assuming the character encoding is UTF-8.
publicstatic String encodeURL (String url, String enc)
  Use the new URLEncoder.encode() method from Java 1.4 if available, else use the old deprecated version.
publicstatic String filter (String value)
  Filter the specified string for characters that are senstive to HTML interpreters, returning the string with these characters replaced by the corresponding character entities.
Fields
Hide/Show inherited fields
protectedstatic MessageResources messages
The message resources for this package.
Nested Classes
Generated By: JavaOnTracks Doclet 0.1.4     ©Thibaut Colar