|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Objectorg.apache.struts.util.ResponseUtils
General purpose utility methods related to generating a servlet response in the Struts controller framework.
| Field Summary | |
protected static MessageResources |
messages
Deprecated. The message resources for this package. |
| Constructor Summary | |
ResponseUtils()
Deprecated. |
|
| Method Summary | |
static java.lang.String |
filter(java.lang.String value)
Deprecated. |
static java.lang.String |
filterIfQuote(java.lang.String value)
Deprecated. Replace double-quote characters in the input string with proper HTML encoding. |
static void |
write(PageContext pageContext,
java.lang.String text)
Deprecated. |
static void |
writePrevious(PageContext pageContext,
java.lang.String text)
Deprecated. |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
protected static MessageResources messages
| Constructor Detail |
public ResponseUtils()
| Method Detail |
public static java.lang.String filter(java.lang.String value)
value - The string to be filtered and returned
public static void write(PageContext pageContext,
java.lang.String text)
throws JspException
doAfterBody() method of a custom tag class that
implements BodyTag, you should be calling
writePrevious() instead.
pageContext - The PageContext object for this pagetext - The text to be written
JspException - if an input/output error occurs (already saved)
public static void writePrevious(PageContext pageContext,
java.lang.String text)
throws JspException
pageContext - The PageContext object for this pagetext - The text to be written
JspException - if an input/output error occurs (already saved)public static java.lang.String filterIfQuote(java.lang.String value)
").
Note that you should not use this function in new code. It is only intended for old code which needs to be backwards-compatible with incompletely-quoted attributes.
|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||