org.apache.struts.taglib.html
public class HtmlTag extends TagSupport
Version: $Rev: 54929 $ $Date: 2004-10-16 17:38:42 +0100 (Sat, 16 Oct 2004) $
Field Summary | |
---|---|
protected boolean | lang
Are we rendering a lang attribute? |
protected boolean | locale
Should we set the current Locale for this user if needed? |
protected static MessageResources | messages
The message resources for this package. |
protected boolean | xhtml
Are we rendering an xhtml page? |
Method Summary | |
---|---|
int | doEndTag()
Process the end of this tag.
|
int | doStartTag()
Process the start of this tag.
|
protected Locale | getCurrentLocale()
Return the current Locale for this request. |
boolean | getLang()
Returns true if the tag should render a lang attribute. |
boolean | getLocale() |
boolean | getXhtml() |
void | release()
Release any acquired resources. |
protected String | renderHtmlStartElement()
Renders an <html> element with appropriate language attributes. |
void | setLang(boolean lang)
Sets whether the tag should render a lang attribute. |
void | setLocale(boolean locale) |
void | setXhtml(boolean xhtml) |
Since: Struts 1.2
Deprecated: This will be removed after Struts 1.2.
Should we set the current Locale for this user if needed?Throws: JspException if a JSP exception has occurred
Throws: JspException if a JSP exception has occurred
Deprecated: This will be removed after Struts 1.2.
Return the current Locale for this request. If there is no locale in the session and the locale attribute is set to "true", this method will create a Locale based on the client's Accept-Language header or the server's default locale and store it in the session. This will always return a Locale and never null.Since: Struts 1.1
Since: Struts 1.2
Deprecated: This will be removed after Struts 1.2.
Since: Struts 1.2
Since: Struts 1.2
Deprecated: This will be removed after Struts 1.2.