org.apache.struts.taglib.bean
public class MessageTag extends TagSupport
ActionResources
object stored as a context attribute by our associated
ActionServlet implementation.
Version: $Rev: 54929 $ $Date: 2004-10-16 17:38:42 +0100 (Sat, 16 Oct 2004) $
| Field Summary | |
|---|---|
| protected String | arg0
The first optional argument. |
| protected String | arg1
The second optional argument. |
| protected String | arg2
The third optional argument. |
| protected String | arg3
The fourth optional argument. |
| protected String | arg4
The fifth optional argument. |
| protected String | bundle
The servlet context attribute key for our resources. |
| protected static Locale | defaultLocale
The default Locale for our server. |
| protected String | key
The message key of the message to be retrieved. |
| protected String | localeKey
The session scope key under which our Locale is stored. |
| protected static MessageResources | messages
The message resources for this package. |
| protected String | name
Name of the bean that contains the message key. |
| protected String | property
Name of the property to be accessed on the specified bean. |
| protected String | scope
The scope to be searched to retrieve the specified bean. |
| Method Summary | |
|---|---|
| int | doStartTag()
Process the start tag.
|
| String | getArg0() |
| String | getArg1() |
| String | getArg2() |
| String | getArg3() |
| String | getArg4() |
| String | getBundle() |
| String | getKey() |
| String | getLocale() |
| String | getName() |
| String | getProperty() |
| String | getScope() |
| void | release()
Release any acquired resources. |
| void | setArg0(String arg0) |
| void | setArg1(String arg1) |
| void | setArg2(String arg2) |
| void | setArg3(String arg3) |
| void | setArg4(String arg4) |
| void | setBundle(String bundle) |
| void | setKey(String key) |
| void | setLocale(String localeKey) |
| void | setName(String name) |
| void | setProperty(String property) |
| void | setScope(String scope) |
Deprecated: This will be removed after Struts 1.2.
The default Locale for our server.Throws: JspException if a JSP exception has occurred