diff --git a/build.xml b/build.xml
new file mode 100644
index 0000000..4f2ee4e
--- /dev/null
+++ b/build.xml
@@ -0,0 +1,71 @@
+
+
+
+
+
+
+
+
+
+
+ Builds, tests, and runs the project MStruts.
+
+
+
diff --git a/build/web/META-INF/MANIFEST.MF b/build/web/META-INF/MANIFEST.MF
new file mode 100644
index 0000000..59499bc
--- /dev/null
+++ b/build/web/META-INF/MANIFEST.MF
@@ -0,0 +1,2 @@
+Manifest-Version: 1.0
+
diff --git a/build/web/WEB-INF/classes/.netbeans_automatic_build b/build/web/WEB-INF/classes/.netbeans_automatic_build
new file mode 100644
index 0000000..e69de29
diff --git a/build/web/WEB-INF/classes/.netbeans_update_resources b/build/web/WEB-INF/classes/.netbeans_update_resources
new file mode 100644
index 0000000..e69de29
diff --git a/build/web/WEB-INF/classes/adminlogin.class b/build/web/WEB-INF/classes/adminlogin.class
new file mode 100644
index 0000000..50e4a6f
Binary files /dev/null and b/build/web/WEB-INF/classes/adminlogin.class differ
diff --git a/build/web/WEB-INF/classes/com/deepa/action/LoginActionForm.class b/build/web/WEB-INF/classes/com/deepa/action/LoginActionForm.class
new file mode 100644
index 0000000..f4d4cfa
Binary files /dev/null and b/build/web/WEB-INF/classes/com/deepa/action/LoginActionForm.class differ
diff --git a/build/web/WEB-INF/classes/com/deepa/action/RegisterActionForm.class b/build/web/WEB-INF/classes/com/deepa/action/RegisterActionForm.class
new file mode 100644
index 0000000..8b1e1e2
Binary files /dev/null and b/build/web/WEB-INF/classes/com/deepa/action/RegisterActionForm.class differ
diff --git a/build/web/WEB-INF/classes/com/deepa/dao/LoginDAO.class b/build/web/WEB-INF/classes/com/deepa/dao/LoginDAO.class
new file mode 100644
index 0000000..4f82091
Binary files /dev/null and b/build/web/WEB-INF/classes/com/deepa/dao/LoginDAO.class differ
diff --git a/build/web/WEB-INF/classes/com/deepa/dao/RegisterDAO.class b/build/web/WEB-INF/classes/com/deepa/dao/RegisterDAO.class
new file mode 100644
index 0000000..3c7d277
Binary files /dev/null and b/build/web/WEB-INF/classes/com/deepa/dao/RegisterDAO.class differ
diff --git a/build/web/WEB-INF/classes/com/deepa/user/LoginAction.class b/build/web/WEB-INF/classes/com/deepa/user/LoginAction.class
new file mode 100644
index 0000000..992d1e0
Binary files /dev/null and b/build/web/WEB-INF/classes/com/deepa/user/LoginAction.class differ
diff --git a/build/web/WEB-INF/classes/com/deepa/user/RegisterAction.class b/build/web/WEB-INF/classes/com/deepa/user/RegisterAction.class
new file mode 100644
index 0000000..839d4b3
Binary files /dev/null and b/build/web/WEB-INF/classes/com/deepa/user/RegisterAction.class differ
diff --git a/build/web/WEB-INF/classes/com/myapp/struts/ApplicationResource.properties b/build/web/WEB-INF/classes/com/myapp/struts/ApplicationResource.properties
new file mode 100644
index 0000000..5d52f65
--- /dev/null
+++ b/build/web/WEB-INF/classes/com/myapp/struts/ApplicationResource.properties
@@ -0,0 +1,77 @@
+# DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS HEADER.
+#
+# Copyright (c) 2005, 2016 Oracle and/or its affiliates. All rights reserved.
+#
+# Oracle and Java are registered trademarks of Oracle and/or its affiliates.
+# Other names may be trademarks of their respective owners.
+#
+# The contents of this file are subject to the terms of either the GNU
+# General Public License Version 2 only ("GPL") or the Common
+# Development and Distribution License("CDDL") (collectively, the
+# "License"). You may not use this file except in compliance with the
+# License. You can obtain a copy of the License at
+# http://www.netbeans.org/cddl-gplv2.html
+# or nbbuild/licenses/CDDL-GPL-2-CP. See the License for the
+# specific language governing permissions and limitations under the
+# License. When distributing the software, include this License Header
+# Notice in each file and include the License file at
+# nbbuild/licenses/CDDL-GPL-2-CP. Oracle designates this
+# particular file as subject to the "Classpath" exception as provided
+# by Oracle in the GPL Version 2 section of the License file that
+# accompanied this code. If applicable, add the following below the
+# License Header, with the fields enclosed by brackets [] replaced by
+# your own identifying information:
+# "Portions Copyrighted [year] [name of copyright owner]"
+#
+# If you wish your version of this file to be governed by only the CDDL
+# or only the GPL Version 2, indicate your decision by adding
+# "[Contributor] elects to include this software in this distribution
+# under the [CDDL or GPL Version 2] license." If you do not indicate a
+# single choice of license, a recipient has the option to distribute
+# your version of this file under either the CDDL, the GPL Version 2 or
+# to extend the choice of license to its licensees as provided above.
+# However, if you add GPL Version 2 code and therefore, elected the GPL
+# Version 2 license, then the option applies only if the new code is
+# made subject to such option by the copyright holder.
+#
+# Contributor(s):
+# -- standard errors --
+errors.header=
+errors.prefix=
+errors.suffix=
+errors.footer=
+# -- validator --
+errors.invalid={0} is invalid.
+errors.maxlength={0} can not be greater than {1} characters.
+errors.minlength={0} can not be less than {1} characters.
+errors.range={0} is not in the range {1} through {2}.
+errors.required={0} is required.
+errors.byte={0} must be an byte.
+errors.date={0} is not a date.
+errors.double={0} must be an double.
+errors.float={0} must be an float.
+errors.integer={0} must be an integer.
+errors.long={0} must be an long.
+errors.short={0} must be an short.
+errors.creditcard={0} is not a valid credit card number.
+errors.email={0} is an invalid e-mail address.
+# -- other --
+errors.cancel=Operation cancelled.
+errors.detail={0}
+errors.general=The process did not complete. Details should follow.
+errors.token=Request could not be completed. Operation is not in sequence.
+# -- welcome --
+welcome.title=Struts Application
+welcome.heading=Struts Applications in Netbeans!
+welcome.message=It's easy to create Struts applications with NetBeans.
+
+error.fullnmae.required= Full Name must contain characters and no space.
+error.userid.required= User ID must contain alphanumeric and underscore(optional).
+error.age.required=Age must be in numeric.
+error.gender.required=Gender is required.
+error.location.required=Location is required.
+error.email.required=Email is required.
+error.password.required=Password must contain 1 lowercase 1 uppercase 1 special character 1 number of length min 8 max 40.
+
+error.loginuserid.required=Incorrect User Id.
+error.loginpassword.required=Incorrect password.
\ No newline at end of file
diff --git a/build/web/WEB-INF/classes/delete.class b/build/web/WEB-INF/classes/delete.class
new file mode 100644
index 0000000..1071b62
Binary files /dev/null and b/build/web/WEB-INF/classes/delete.class differ
diff --git a/build/web/WEB-INF/classes/update.class b/build/web/WEB-INF/classes/update.class
new file mode 100644
index 0000000..d128463
Binary files /dev/null and b/build/web/WEB-INF/classes/update.class differ
diff --git a/build/web/WEB-INF/glassfish-web.xml b/build/web/WEB-INF/glassfish-web.xml
new file mode 100644
index 0000000..13e0059
--- /dev/null
+++ b/build/web/WEB-INF/glassfish-web.xml
@@ -0,0 +1,10 @@
+
+
+
+
+
+
+ Keep a copy of the generated servlet class' java code.
+
+
+
diff --git a/build/web/WEB-INF/lib/antlr-2.7.2.jar b/build/web/WEB-INF/lib/antlr-2.7.2.jar
new file mode 100644
index 0000000..9509e3c
Binary files /dev/null and b/build/web/WEB-INF/lib/antlr-2.7.2.jar differ
diff --git a/build/web/WEB-INF/lib/bsf-2.3.0.jar b/build/web/WEB-INF/lib/bsf-2.3.0.jar
new file mode 100644
index 0000000..00cfed5
Binary files /dev/null and b/build/web/WEB-INF/lib/bsf-2.3.0.jar differ
diff --git a/build/web/WEB-INF/lib/commons-beanutils-1.8.0.jar b/build/web/WEB-INF/lib/commons-beanutils-1.8.0.jar
new file mode 100644
index 0000000..5403e21
Binary files /dev/null and b/build/web/WEB-INF/lib/commons-beanutils-1.8.0.jar differ
diff --git a/build/web/WEB-INF/lib/commons-chain-1.2.jar b/build/web/WEB-INF/lib/commons-chain-1.2.jar
new file mode 100644
index 0000000..f7ee5a6
Binary files /dev/null and b/build/web/WEB-INF/lib/commons-chain-1.2.jar differ
diff --git a/build/web/WEB-INF/lib/commons-digester-1.8.jar b/build/web/WEB-INF/lib/commons-digester-1.8.jar
new file mode 100644
index 0000000..4ddb482
Binary files /dev/null and b/build/web/WEB-INF/lib/commons-digester-1.8.jar differ
diff --git a/build/web/WEB-INF/lib/commons-fileupload-1.1.1.jar b/build/web/WEB-INF/lib/commons-fileupload-1.1.1.jar
new file mode 100644
index 0000000..89033a6
Binary files /dev/null and b/build/web/WEB-INF/lib/commons-fileupload-1.1.1.jar differ
diff --git a/build/web/WEB-INF/lib/commons-io-1.1.jar b/build/web/WEB-INF/lib/commons-io-1.1.jar
new file mode 100644
index 0000000..dc67c49
Binary files /dev/null and b/build/web/WEB-INF/lib/commons-io-1.1.jar differ
diff --git a/build/web/WEB-INF/lib/commons-logging-1.0.4.jar b/build/web/WEB-INF/lib/commons-logging-1.0.4.jar
new file mode 100644
index 0000000..1357724
Binary files /dev/null and b/build/web/WEB-INF/lib/commons-logging-1.0.4.jar differ
diff --git a/build/web/WEB-INF/lib/commons-validator-1.3.1.jar b/build/web/WEB-INF/lib/commons-validator-1.3.1.jar
new file mode 100644
index 0000000..0d9d2dd
Binary files /dev/null and b/build/web/WEB-INF/lib/commons-validator-1.3.1.jar differ
diff --git a/build/web/WEB-INF/lib/jstl-1.0.2.jar b/build/web/WEB-INF/lib/jstl-1.0.2.jar
new file mode 100644
index 0000000..32a50e8
Binary files /dev/null and b/build/web/WEB-INF/lib/jstl-1.0.2.jar differ
diff --git a/build/web/WEB-INF/lib/mysql-connector-java-5.1.23-bin.jar b/build/web/WEB-INF/lib/mysql-connector-java-5.1.23-bin.jar
new file mode 100644
index 0000000..1f90414
Binary files /dev/null and b/build/web/WEB-INF/lib/mysql-connector-java-5.1.23-bin.jar differ
diff --git a/build/web/WEB-INF/lib/oro-2.0.8.jar b/build/web/WEB-INF/lib/oro-2.0.8.jar
new file mode 100644
index 0000000..3903538
Binary files /dev/null and b/build/web/WEB-INF/lib/oro-2.0.8.jar differ
diff --git a/build/web/WEB-INF/lib/standard-1.0.6.jar b/build/web/WEB-INF/lib/standard-1.0.6.jar
new file mode 100644
index 0000000..6e9b36b
Binary files /dev/null and b/build/web/WEB-INF/lib/standard-1.0.6.jar differ
diff --git a/build/web/WEB-INF/lib/struts-core-1.3.10.jar b/build/web/WEB-INF/lib/struts-core-1.3.10.jar
new file mode 100644
index 0000000..040d542
Binary files /dev/null and b/build/web/WEB-INF/lib/struts-core-1.3.10.jar differ
diff --git a/build/web/WEB-INF/lib/struts-el-1.3.10.jar b/build/web/WEB-INF/lib/struts-el-1.3.10.jar
new file mode 100644
index 0000000..df664b2
Binary files /dev/null and b/build/web/WEB-INF/lib/struts-el-1.3.10.jar differ
diff --git a/build/web/WEB-INF/lib/struts-extras-1.3.10.jar b/build/web/WEB-INF/lib/struts-extras-1.3.10.jar
new file mode 100644
index 0000000..ee056dd
Binary files /dev/null and b/build/web/WEB-INF/lib/struts-extras-1.3.10.jar differ
diff --git a/build/web/WEB-INF/lib/struts-faces-1.3.10.jar b/build/web/WEB-INF/lib/struts-faces-1.3.10.jar
new file mode 100644
index 0000000..85e07b2
Binary files /dev/null and b/build/web/WEB-INF/lib/struts-faces-1.3.10.jar differ
diff --git a/build/web/WEB-INF/lib/struts-mailreader-dao-1.3.10.jar b/build/web/WEB-INF/lib/struts-mailreader-dao-1.3.10.jar
new file mode 100644
index 0000000..f6782e3
Binary files /dev/null and b/build/web/WEB-INF/lib/struts-mailreader-dao-1.3.10.jar differ
diff --git a/build/web/WEB-INF/lib/struts-scripting-1.3.10.jar b/build/web/WEB-INF/lib/struts-scripting-1.3.10.jar
new file mode 100644
index 0000000..6cf1447
Binary files /dev/null and b/build/web/WEB-INF/lib/struts-scripting-1.3.10.jar differ
diff --git a/build/web/WEB-INF/lib/struts-taglib-1.3.10.jar b/build/web/WEB-INF/lib/struts-taglib-1.3.10.jar
new file mode 100644
index 0000000..4e25d8f
Binary files /dev/null and b/build/web/WEB-INF/lib/struts-taglib-1.3.10.jar differ
diff --git a/build/web/WEB-INF/lib/struts-tiles-1.3.10.jar b/build/web/WEB-INF/lib/struts-tiles-1.3.10.jar
new file mode 100644
index 0000000..55e6969
Binary files /dev/null and b/build/web/WEB-INF/lib/struts-tiles-1.3.10.jar differ
diff --git a/build/web/WEB-INF/struts-bean.tld b/build/web/WEB-INF/struts-bean.tld
new file mode 100644
index 0000000..c671763
--- /dev/null
+++ b/build/web/WEB-INF/struts-bean.tld
@@ -0,0 +1,1153 @@
+
+
+
+
+ 1.3
+ 1.2
+ bean
+ http://struts.apache.org/tags-bean
+
+ Note: Some of the features in this taglib are also
+ available in the JavaServer Pages Standard Tag Library (JSTL).
+ The Struts team encourages the use of the standard tags over the Struts
+ specific tags when possible.
+
+
This tag library contains tags useful in accessing beans and their
+ properties, as well as defining new beans (based on these accesses)
+ that are accessible to the remainder of the page via scripting variables
+ and page scope attributes. Convenient mechanisms to create new beans
+ based on the value of request cookies, headers, and parameters are also
+ provided.
+
+
Many of the tags in this tag library will throw a
+ JspException at runtime when they are utilized incorrectly
+ (such as when you specify an invalid combination of tag attributes). JSP
+ allows you to declare an "error page" in the <%@ page %>
+ directive. If you wish to process the actual exception that caused the
+ problem, it is passed to the error page as a request attribute under key
+ org.apache.struts.action.EXCEPTION.
+
+ ]]>
+
+
+ cookie
+ org.apache.struts.taglib.bean.CookieTag
+ org.apache.struts.taglib.bean.CookieTei
+ empty
+
+
+ Define a scripting variable based on the value(s) of the specified
+ request cookie.
+
+
+
Retrieve the value of the specified request cookie (as a single
+ value or multiple values, depending on the multiple attribute),
+ and define the result as a page scope attribute of type Cookie
+ (if multiple is not specified) or Cookie[]
+ (if multiple is specified).
+
+
If no cookie with the specified name can be located, and no default
+ value is specified, a request time exception will be thrown.
+ ]]>
+
+
+ id
+ true
+ false
+
+ Specifies the name of the scripting variable (and associated page
+ scope attribute) that will be made available with the value of the
+ specified request cookie.
+ ]]>
+
+
+
+ multiple
+ false
+ true
+
+ If any arbitrary value for this attribute is specified, causes all
+ matching cookies to be accumulated and stored into a bean of type
+ Cookie[]. If not specified, the first value for the
+ specified cookie will be retrieved as a value of type
+ Cookie.
+ ]]>
+
+
+
+ name
+ true
+ true
+
+ Specifies the name of the request cookie whose value, or values,
+ is to be retrieved.
+ ]]>
+
+
+
+ value
+ false
+ true
+
+ The default cookie value to return if no cookie with the
+ specified name was included in this request.
+ ]]>
+
+
+
+
+ define
+ org.apache.struts.taglib.bean.DefineTag
+ org.apache.struts.taglib.bean.DefineTei
+ JSP
+
+
+ Define a scripting variable based on the value(s) of the specified
+ bean property.
+
+
+
Create a new attribute (in the scope specified by the
+ toScope property, if any), and a corresponding scripting
+ variable, both of which are named by the value of the id
+ attribute. The corresponding value to which this new attribute (and
+ scripting variable) is set are specified via use of exactly one of the
+ following approaches (trying to use more than one will result in a
+ JspException being thrown):
+
+
Specify a name attribute (plus optional
+ property and scope attributes) -
+ The created attribute and scripting variable will be of the type of the
+ retrieved JavaBean property, unless it is a Java primitive type,
+ in which case it will be wrapped in the appropriate wrapper class
+ (i.e. int is wrapped by java.lang.Integer).
+
Specify a value attribute - The created attribute and
+ scripting variable will be of type java.lang.String,
+ set to the value of this attribute.
+
Specify nested body content - The created attribute and scripting
+ variable will be of type java.lang.String, set to
+ the value of the nested body content.
+
+
+
If a problem occurs while retrieving the specified bean property, a
+ request time exception will be thrown.
+
+
The <bean:define> tag differs from
+ <jsp:useBean> in several ways, including:
+
+
Unconditionally creates (or replaces) a bean under the
+ specified identifier.
+
Can create a bean with the value returned by a property getter
+ of a different bean (including properties referenced with a
+ nested and/or indexed property name).
+
Can create a bean whose contents is a literal string (or the result
+ of a runtime expression) specified by the value
+ attribute.
+
Does not support nested content (such as
+ <jsp:setProperty> tags) that are only executed
+ if a bean was actually created.
+
+
+
USAGE NOTE - There is a restriction in the JSP 1.1
+ Specification that disallows using the same value for an id
+ attribute more than once in a single JSP page. Therefore, you will not
+ be able to use <bean:define> for the same bean
+ name more than once in a single page.
+
+
USAGE NOTE - If you use another tag to create the
+ body content (e.g. bean:write), that tag must return a non-empty String.
+ An empty String equates to an empty body or a null String, and a new
+ scripting variable cannot be defined as null. Your bean must return a
+ non-empty String, or the define tag must be wrapped within a logic tag
+ to test for an empty or null value.
+
+
USAGE NOTE - You cannot use bean:define to instantiate
+ a DynaActionForm (type="org.apache.struts.action.DynaActionForm") with
+ the properties specified in the struts-config. The mechanics of creating
+ the dyna-properties is complex and cannot be handled by a no-argument
+ constructor. If you need to create an ActionForm this way, you must use
+ a conventional ActionForm.
+
+
+
See the Bean Developer's Guide section on
+
+ bean creation for more information about these differences, as well
+ as alternative approaches to introducing beans into a JSP page.
+ ]]>
+
+
+ id
+ true
+ false
+
+ Specifies the name of the scripting variable (and associated page
+ scope attribute) that will be made available with the value of the
+ specified property.
+ ]]>
+
+
+
+ name
+ false
+ true
+
+ Specifies the attribute name of the bean whose property is accessed
+ to define a new page scope attribute (if property is also
+ specified) or the attribute name of the bean that is duplicated with
+ the new reference created by this tag (if property is not
+ also specified). This attribute is required unless you specify
+ a value attribute or nested body content.
+ ]]>
+
+
+
+ property
+ false
+ true
+
+ Specifies the name of the property to be accessed on the bean
+ specified by name. This value may be a simple, indexed,
+ or nested property reference expression. If not specified, the bean
+ identified by name is given a new reference identified by
+ id.
+ ]]>
+
+
+
+ scope
+ false
+ true
+
+ Specifies the variable scope searched to retrieve the bean specified
+ by name. If not specified, the default rules applied by
+ PageContext.findAttribute() are applied.
+ ]]>
+
+
+
+ toScope
+ false
+ true
+
+ Specifies the variable scope into which the newly defined bean will
+ be created. If not specified, the bean will be created in
+ page scope.
+ ]]>
+
+
+
+ type
+ false
+ true
+
+ Specifies the fully qualified class name of the value to be exposed
+ as the id attribute.
+ ]]>
+
+
+
+ value
+ false
+ true
+
+ The java.lang.String value to which the exposed bean
+ should be set. This attribute is required unless you specify the
+ name attribute or nested body content.
+ ]]>
+
+
+
+
+ header
+ org.apache.struts.taglib.bean.HeaderTag
+ org.apache.struts.taglib.bean.HeaderTei
+ empty
+
+
+ Define a scripting variable based on the value(s) of the specified
+ request header.
+
+
+
Retrieve the value of the specified request header (as a single
+ value or multiple values, depending on the multiple attribute),
+ and define the result as a page scope attribute of type String
+ (if multiple is not specified) or String[]
+ (if multiple is specified).
+
+
If no header with the specified name can be located, and no default
+ value is specified, a request time exception will be thrown.
+ ]]>
+
+
+ id
+ true
+ false
+
+ Specifies the name of the scripting variable (and associated page
+ scope attribute) that will be made available with the value of the
+ specified request header.
+ ]]>
+
+
+
+ multiple
+ false
+ true
+
+ If any arbitrary value for this attribute is specified, causes a call
+ to HttpServletRequest.getHeaders() and a definition of the
+ result as a bean of type String[]. Otherwise,
+ HttpServletRequest.getHeader() will be called, and a
+ definition of the result as a bean of type String
+ will be performed.
+ ]]>
+
+
+
+ name
+ true
+ true
+
+ Specifies the name of the request header whose value, or values,
+ is to be retrieved.
+ ]]>
+
+
+
+ value
+ false
+ true
+
+ The default header value to return if no header with the
+ specified name was included in this request.
+ ]]>
+
+
+
+
+ include
+ org.apache.struts.taglib.bean.IncludeTag
+ org.apache.struts.taglib.bean.IncludeTei
+ empty
+
+
+ Load the response from a dynamic application request and make it available
+ as a bean.
+
+
+
Perform an internal dispatch to the specified application component
+ (or external URL)
+ and make the response data from that request available as a bean of
+ type String. This tag has a function similar to that of
+ the standard <jsp:include> tag, except that the
+ response data is stored in a page scope attribute instead of being
+ written to the output stream. If the current request is part of a
+ session, the generated request for the include will also include the
+ session identifier (and thus be part of the same session).
+
+
The URL used to access the specified application component is
+ calculated based on which of the following attributes you specify
+ (you must specify exactly one of them):
+
+
forward - Use the value of this attribute as the name
+ of a global ActionForward to be looked up, and
+ use the module-relative or context-relative URI found there.
+
href - Use the value of this attribute unchanged (since
+ this might link to a resource external to the application, the
+ session identifier is not included.
+
page - Use the value of this attribute as an
+ module-relative URI to the desired resource.
+
+ ]]>
+
+
+ anchor
+ false
+ true
+
+ Optional anchor tag ("#xxx") to be added to the generated
+ hyperlink. Specify this value without any
+ "#" character.
+ ]]>
+
+
+
+ forward
+ false
+ true
+
+ Logical name of a global ActionForward that contains
+ the actual content-relative URI of the resource to be included.
+ ]]>
+
+
+
+ href
+ false
+ true
+
+ Absolute URL (including the appropriate protocol prefix such as
+ "http:") of the resource to be included. Because this URL could be
+ external to the current web application, the session identifier will
+ not be included in the request.
+ ]]>
+
+
+
+ id
+ true
+ false
+
+ Specifies the name of the scripting variable (and associated page
+ scope attribute) that will be made available with the value of the
+ specified web application resource.
+ ]]>
+
+
+
+ page
+ false
+ true
+
+ Module-relative URI (starting with a '/') of the web application
+ resource to be included.
+ ]]>
+
+
+
+ transaction
+ false
+ true
+ boolean
+
+ Set to true if you want the current
+ transaction control token included in the generated
+ URL for this include.
+ ]]>
+
+
+
+
+ message
+ org.apache.struts.taglib.bean.MessageTag
+ empty
+
+
+ Render an internationalized message string to the response.
+
+
+
Retrieves an internationalized message for the specified locale,
+ using the specified message key, and write it to the output stream.
+ Up to five parametric replacements (such as "{0}") may be specified.
+
+
The message key may be specified directly, using the key
+ attribute, or indirectly, using the name and
+ property attributes to obtain it from a bean.
+
+
+ JSTL: The equivalent JSTL tag is <fmt:message>. For example,
+
+
+ <fmt:message key="my.msg.key">
+ <fmt:param value="replacement text"/>
+ </fmt:message>
+
+
+ ]]>
+
+
+ arg0
+ false
+ true
+
+ First parametric replacement value, if any.
+ ]]>
+
+
+
+ arg1
+ false
+ true
+
+ Second parametric replacement value, if any.
+ ]]>
+
+
+
+ arg2
+ false
+ true
+
+ Third parametric replacement value, if any.
+ ]]>
+
+
+
+ arg3
+ false
+ true
+
+ Fourth parametric replacement value, if any.
+ ]]>
+
+
+
+ arg4
+ false
+ true
+
+ Fifth parametric replacement value, if any.
+ ]]>
+
+
+
+ bundle
+ false
+ true
+
+ The name of the application scope bean under which the
+ MessageResources object containing our messages
+ is stored.
+ ]]>
+
+
+
+ key
+ false
+ true
+
+ The message key of the requested message, which must have
+ a corresponding value in the message resources. If not specified,
+ the key is obtained from the name and
+ property attributes.
+ ]]>
+
+
+
+ locale
+ false
+ true
+
+ The name of the session scope bean under which our currently
+ selected Locale object is stored.
+ ]]>
+
+
+
+ name
+ false
+ true
+
+ Specifies the attribute name of the bean whose property is accessed
+ to retrieve the value specified by property (if
+ specified). If property is not specified, the value of
+ this bean itself will be used as the message resource key.
+ ]]>
+
+
+
+ property
+ false
+ true
+
+ Specifies the name of the property to be accessed on the bean
+ specified by name. This value may be a simple, indexed,
+ or nested property reference expression. If not specified, the value
+ of the bean identified by name will itself be used as the
+ message resource key.
+ ]]>
+
+
+
+ scope
+ false
+ true
+
+ Specifies the variable scope searched to retrieve the bean specified
+ by name. If not specified, the default rules applied by
+ PageContext.findAttribute() are applied.
+ ]]>
+
+
+
+
+ page
+ org.apache.struts.taglib.bean.PageTag
+ org.apache.struts.taglib.bean.PageTei
+ empty
+
+
+ Expose a specified item from the page context as a bean.
+
+
+
Retrieve the value of the specified item from the page context
+ for this page, and define it as a scripting variable, and a page scope
+ attribute accessible to the remainder of the current page.
+
+
If a problem occurs while retrieving the specified configuration
+ object, a request time exception will be thrown.
+ ]]>
+
+
+ id
+ true
+ false
+
+ Specifies the name of the scripting variable (and associated
+ page scope attribute) that will be made available with the value of
+ the specified page context property.
+ ]]>
+
+
+
+ property
+ true
+ true
+
+ Name of the property from our page context to be retrieved and
+ exposed. Must be one of application, config,
+ request, response, or session.
+
+ ]]>
+
+
+
+
+ parameter
+ org.apache.struts.taglib.bean.ParameterTag
+ org.apache.struts.taglib.bean.ParameterTei
+ empty
+
+
+ Define a scripting variable based on the value(s) of the specified
+ request parameter.
+
+
+
Retrieve the value of the specified request parameter (as a single
+ value or multiple values, depending on the multiple attribute),
+ and define the result as a page scope attribute of type String
+ (if multiple is not specified) or String[]
+ (if multiple is specified).
+
+
If no request parameter with the specified name can be located, and
+ no default value is specified, a request time exception will be thrown.
+ ]]>
+
+
+ id
+ true
+ false
+
+ Specifies the name of the scripting variable (and associated page
+ scope attribute) that will be made available with the value of the
+ specified request parameter.
+ ]]>
+
+
+
+ multiple
+ false
+ true
+
+ If any arbitrary value for this attribute is specified, causes a call
+ to ServletRequest.getParameterValues() and a definition of
+ the result as a bean of type String[]. Otherwise,
+ ServletRequest.getParameter() will be called, and a
+ definition of the result as a bean of type String
+ will be performed.
+ ]]>
+
+
+
+ name
+ true
+ true
+
+ Specifies the name of the request parameter whose value, or values,
+ is to be retrieved.
+ ]]>
+
+
+
+ value
+ false
+ true
+
+ The default parameter value to return if no parameter with the
+ specified name was included in this request.
+ ]]>
+
+
+
+
+ resource
+ org.apache.struts.taglib.bean.ResourceTag
+ org.apache.struts.taglib.bean.ResourceTei
+ empty
+
+
+ Load a web application resource and make it available as a bean.
+
+
+
Retrieve the value of the specified web application resource, and make
+ it available as either a InputStream or a String,
+ depending on the value of the input attribute.
+
+
If a problem occurs while retrieving the specified resource, a
+ request time exception will be thrown.
+ ]]>
+
+
+ id
+ true
+ false
+
+ Specifies the name of the scripting variable (and associated page
+ scope attribute) that will be made available with the value of the
+ specified web application resource.
+ ]]>
+
+
+
+ input
+ false
+ true
+
+ If any arbitrary value for this attribute is specified, the resource
+ will be made available as an InputStream. If this
+ attribute is not specified, the resource will be made available
+ as a String.
+ ]]>
+
+
+
+ name
+ true
+ true
+
+ Module-relative name (starting with a '/') of the web application
+ resource to be loaded and made available.
+ ]]>
+
+
+
+
+ size
+ org.apache.struts.taglib.bean.SizeTag
+ org.apache.struts.taglib.bean.SizeTei
+ empty
+
+
+ Define a bean containing the number of elements in a Collection or Map.
+
+
+
Given a reference to an array, Collection or Map, creates a new bean, of
+ type java.lang.Integer, whose value is the number of elements
+ in that collection. You can specify the collection to be counted in any
+ one of the following ways:
+
+
As a runtime expression specified as the value of the
+ collection attribute.
+
As a JSP bean specified by the name attribute.
+
As the property, specified by the property attribute,
+ of the JSP bean specified by the name attribute.
+
+ ]]>
+
+
+ collection
+ false
+ true
+ java.lang.Object
+
+ A runtime expression that evaluates to an array, a Collection, or
+ a Map.
+ ]]>
+
+
+
+ id
+ true
+ false
+
+ The name of a page scope JSP bean, of type
+ java.lang.Integer, that will be created to contain the
+ size of the underlying collection being counted.
+ ]]>
+
+
+
+ name
+ false
+ true
+
+ The name of the JSP bean (optionally constrained to the scope
+ specified by the scope attribute) that contains the
+ collection to be counted (if property is not specified),
+ or whose property getter is called to return the collection to be
+ counted (if property is specified.
+ ]]>
+
+
+
+ property
+ false
+ true
+
+ The name of the property, of the bean specified by the
+ name attribute, whose getter method will return the
+ collection to be counted.
+ ]]>
+
+
+
+ scope
+ false
+ true
+
+ The bean scope within which to search for the JSP bean specified
+ by the name attribute. If not specified, the available
+ scopes are searched in ascending sequence.
+ ]]>
+
+
+
+
+ struts
+ org.apache.struts.taglib.bean.StrutsTag
+ org.apache.struts.taglib.bean.StrutsTei
+ empty
+
+
+ Expose a named Struts internal configuration object as a bean.
+
+
+
Retrieve the value of the specified Struts internal configuration
+ object, and define it as a scripting variable and as a page scope
+ attribute accessible to the remainder of the current page. You must
+ specify exactly one of the formBean, forward,
+ and mapping attributes to select the configuration object
+ to be exposed.
+
+
If a problem occurs while retrieving the specified configuration
+ object, a request time exception will be thrown.
+ ]]>
+
+
+ id
+ true
+ false
+
+ Specifies the name of the scripting variable (and associated
+ page scope attribute) that will be made available with the value of
+ the specified Struts internal configuration object.
+ ]]>
+
+
+
+ formBean
+ false
+ true
+
+ Specifies the name of the Struts ActionFormBean
+ definition object to be exposed.
+ ]]>
+
+
+
+ forward
+ false
+ true
+
+ Specifies the name of the global Struts ActionForward
+ definition object to be exposed.
+ ]]>
+
+
+
+ mapping
+ false
+ true
+
+ Specifies the matching path of the Struts ActionMapping
+ definition object to be exposed.
+ ]]>
+
+
+
+
+ write
+ org.apache.struts.taglib.bean.WriteTag
+ empty
+
+
+ Render the value of the specified bean property to the current
+ JspWriter.
+
+
+
Retrieve the value of the specified bean property, and render it to the
+ current JspWriter as a String by the ways:
+
+
If format attribute exists then value will be formatted on base of format
+ string from format attribute and default system locale.
+
If in resources exists format string for value data type (view format
+ attribute description) then value will be formatted on base of format string
+ from resources. Resources bundle and target locale can be specified with
+ bundle and locale attributes. If nothing specified then
+ default resource bundle and current user locale will be used.
+
If there is a PropertyEditor configured for the property value's class, the
+ getAsText() method will be called.
+
Otherwise, the usual toString() conversions will be applied.
+
+
When a format string is provided, numeric values are formatted using the
+ java.text.DecimalFormat class; if the format string came from
+ a resource, the applyLocalisedPattern() method is used, and
+ applyPattern() is used otherwise. Dates are formatted using
+ the SimpleDateFormat class. For details of the specific format
+ patterns, please see the Javadocs for those classes.
+
If a problem occurs while retrieving the specified bean property, a
+ request time exception will be thrown.
+ ]]>
+
+
+ bundle
+ false
+ true
+
+ The name of the application scope bean under which the
+ MessageResources object containing our messages
+ is stored.
+ ]]>
+
+
+
+ filter
+ false
+ true
+ boolean
+
+ If this attribute is set to true, the rendered property
+ value will be filtered for characters that are sensitive in HTML, and any
+ such characters will be replaced by their entity equivalents.
+ ]]>
+
+
+
+ format
+ false
+ true
+
+ Specifies the format string to use to convert bean or property value
+ to the String. If nothing specified, then default format
+ string for value data type will be searched in message resources by
+ according key.
+
+ ]]>
+
+
+
+ formatKey
+ false
+ true
+
+ Specifies the key to search format string in application resources.
+ ]]>
+
+
+
+ ignore
+ false
+ true
+ boolean
+
+ If this attribute is set to true, and the bean specified
+ by the name and scope attributes does not
+ exist, simply return without writing anything. If this attribute is
+ set to false, a runtime exception to be thrown,
+ consistent with the other tags in this tag library.
+ ]]>
+
+
+
+ locale
+ false
+ true
+
+ The name of the session scope bean under which our currently
+ selected Locale object is stored.
+ ]]>
+
+
+
+ name
+ true
+ true
+
+ Specifies the attribute name of the bean whose property is accessed
+ to retrieve the value specified by property (if
+ specified). If property is not specified, the value of
+ this bean itself will be rendered.
+ ]]>
+
+
+
+ property
+ false
+ true
+
+ Specifies the name of the property to be accessed on the bean
+ specified by name. This value may be a simple, indexed,
+ or nested property reference expression. If not specified, the bean
+ identified by name will itself be rendered. If the
+ specified property returns null, no output will be rendered.
+ ]]>
+
+
+
+ scope
+ false
+ true
+
+ Specifies the variable scope searched to retrieve the bean specified
+ by name. If not specified, the default rules applied by
+ PageContext.findAttribute() are applied.
+ ]]>
+
+
+
+
+
+
+
diff --git a/build/web/WEB-INF/struts-config.xml b/build/web/WEB-INF/struts-config.xml
new file mode 100644
index 0000000..c9b941b
--- /dev/null
+++ b/build/web/WEB-INF/struts-config.xml
@@ -0,0 +1,85 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
diff --git a/build/web/WEB-INF/struts-html.tld b/build/web/WEB-INF/struts-html.tld
new file mode 100644
index 0000000..b410e95
--- /dev/null
+++ b/build/web/WEB-INF/struts-html.tld
@@ -0,0 +1,9248 @@
+
+
+
+
+ 1.3
+ 1.2
+ html
+ http://struts.apache.org/tags-html
+
+
+ This taglib contains tags used to create struts
+ input forms, as well as other tags generally useful
+ in the creation of HTML-based user interfaces.
+
+
+
Many of the tags in this tag library will throw a
+ JspException at runtime when they are utilized incorrectly
+ (such as when you specify an invalid combination of tag attributes). JSP
+ allows you to declare an "error page" in the <%@ page %>
+ directive. If you wish to process the actual exception that caused the
+ problem, it is passed to the error page as a request attribute under key
+ org.apache.struts.action.EXCEPTION.
+ ]]>
+
+
+ base
+ org.apache.struts.taglib.html.BaseTag
+ empty
+
+ Render an HTML <base> Element
+
+
Renders an HTML <base> element with an
+ href attribute pointing to the absolute location of
+ the enclosing JSP page. This tag is valid only when nested inside
+ an HTML <head> element.
+
+
This tag is useful because it allows you to use relative URL
+ references in the page that are calculated based on the URL of the
+ page itself, rather than the URL to which the most recent submit
+ took place (which is where the browser would normally resolve
+ relative references against).
+ ]]>
+
+
+ target
+ false
+ true
+
+ The window target for this base reference.
+ ]]>
+
+
+
+ server
+ false
+ true
+
+ The server name to use instead of request.getServerName().
+ ]]>
+
+
+
+ ref
+ false
+ true
+
+ The reference from which the base uri will created. Possible values are:
+
+
+
page - The base uri will be the jsp page location. (default)
+
site - The base uri will be the application context path.
+
+
+
Since:
+
Struts 1.3
+
+ ]]>
+
+
+
+
+ button
+ org.apache.struts.taglib.html.ButtonTag
+
+ Render A Button Input Field
+
+
+ Renders an HTML <input> element of type
+ button, populated from the specified value or the
+ content of this tag body. This tag is only valid when nested
+ inside a form tag body.
+
+
+ If a graphical button is needed (a button with an image), then the
+ image tag is more appropriate.
+
+ ]]>
+
+
+ accesskey
+ false
+ true
+
+ The keyboard character used to move focus immediately to this
+ element.
+ ]]>
+
+
+
+ alt
+ false
+ true
+
+ The alternate text for this element.
+ ]]>
+
+
+
+ altKey
+ false
+ true
+
+ The message resources key of the alternate text for this
+ element.
+ ]]>
+
+
+
+ bundle
+ false
+ true
+
+ The servlet context attributes key for the MessageResources
+ instance to use. If not specified, defaults to the
+ application resources configured for our action servlet.
+
+
Since:
+
Struts 1.2.5
+ ]]>
+
+
+
+ dir
+ false
+ true
+
+ The direction for weak/neutral text for this element.
+
Since:
+
Struts 1.3.6
+ ]]>
+
+
+
+ disabled
+ false
+ true
+ boolean
+
+ Set to true if this input field should be
+ disabled.
+ ]]>
+
+
+
+ indexed
+ false
+ true
+ boolean
+
+ Valid only inside of logic:iterate tag.
+ If true then name of the html tag will be rendered as
+ "propertyName[34]". Number in brackets will be generated for
+ every iteration and taken from ancestor logic:iterate tag.
+ ]]>
+
+
+
+ lang
+ false
+ true
+
+ The language code for this element.
+
+ Renders an HTML <input> element of type submit. This tag is only
+ valid when nested inside a form tag body. Pressing of this submit
+ button causes the action servlet to bypass calling the associated
+ form bean validate() method. The action is called normally.
+
+ ]]>
+
+
+ accesskey
+ false
+ true
+
+
+
+
+
+ alt
+ false
+ true
+
+ The alternate text for this element.
+ ]]>
+
+
+
+ altKey
+ false
+ true
+
+ The message resources key of the alternate text for this
+ element.
+ ]]>
+
+
+
+ bundle
+ false
+ true
+
+
Since:
+
Struts 1.2.5
+ ]]>
+
+
+
+ dir
+ false
+ true
+
+ The direction for weak/neutral text for this element.
+
Since:
+
Struts 1.3.6
+ ]]>
+
+
+
+ disabled
+ false
+ true
+ boolean
+
+ true if this input field should be
+ disabled.
+ ]]>
+
+
+
+ lang
+ false
+ true
+
+ The language code for this element.
+
Since:
+
Struts 1.3.6
+ ]]>
+
+
+
+ onblur
+ false
+ true
+
+
+
+
+
+ onchange
+ false
+ true
+
+
+
+
+
+ onclick
+ false
+ true
+
+
+
+
+
+ ondblclick
+ false
+ true
+
+
+
+
+
+ onfocus
+ false
+ true
+
+
+
+
+
+ onkeydown
+ false
+ true
+
+
+
+
+
+ onkeypress
+ false
+ true
+
+
+
+
+
+ onkeyup
+ false
+ true
+
+
+
+
+
+ onmousedown
+ false
+ true
+
+
+
+
+
+ onmousemove
+ false
+ true
+
+
+
+
+
+ onmouseout
+ false
+ true
+
+
+
+
+
+ onmouseover
+ false
+ true
+
+
+
+
+
+ onmouseup
+ false
+ true
+
+
+
+
+
+ property
+ false
+ true
+
+ WARNING - If you set this attribute to a
+ value other than the default, this will NOT be
+ recognized as the cancel key by the Struts controller servlet
+ or the Action.isCancelled() method. You will
+ need to do your own cancel detection.
+ ]]>
+
+
+
+ style
+ false
+ true
+
+
+
+
+
+ styleClass
+ false
+ true
+
+
+
+
+
+ styleId
+ false
+ true
+
+
+
+
+
+ tabindex
+ false
+ true
+
+
+
+
+
+ title
+ false
+ true
+
+ The advisory title for this element.
+ ]]>
+
+
+
+ titleKey
+ false
+ true
+
+ The message resources key for the advisory title
+ for this element.
+ ]]>
+
+
+
+ value
+ false
+ true
+
+
+
+
+
+
+ checkbox
+ org.apache.struts.taglib.html.CheckboxTag
+
+
+ Render A Checkbox Input Field
+
+
+
Renders an HTML <input> element of type
+ checkbox, populated from the specified
+ value or the specified property of the bean associated
+ with our current form. This tag is only valid when
+ nested inside a form tag body.
+
+
NOTE: The underlying property value
+ associated with this field should be of type boolean,
+ and any value you specify should correspond to one
+ of the Strings that indicate a true value ("true", "yes", or
+ "on"). If you wish to utilize a set of related String values,
+ consider using the multibox tag.
+
+
WARNING: In order to correctly
+ recognize unchecked checkboxes, the
+ ActionForm bean associated with this form
+ must include a statement setting the corresponding
+ boolean property to false in the
+ reset() method.
+ ]]>
+
+
+ accesskey
+ false
+ true
+
+
+
+
+
+ alt
+ false
+ true
+
+ The alternate text for this element.
+ ]]>
+
+
+
+ altKey
+ false
+ true
+
+ The message resources key of the alternate text for this
+ element.
+ ]]>
+
+
+
+ bundle
+ false
+ true
+
+
Since:
+
Struts 1.2.5
+ ]]>
+
+
+
+ dir
+ false
+ true
+
+ The direction for weak/neutral text for this element.
+
Since:
+
Struts 1.3.6
+ ]]>
+
+
+
+ disabled
+ false
+ true
+ boolean
+
+ true if this input field should be
+ disabled.
+ ]]>
+
+
+
+ errorKey
+ false
+ true
+
+ Name of the bean (in any scope) under which our error messages
+ have been stored. If not present, the name specified by the
+ Globals.ERROR_KEY constant string will be used.
+
+
N.B. This is used in conjunction with the
+ errorStyle, errorStyleClass and
+ errorStyleId attributes and should be set to
+ the same value as the name attribute on the
+ <html:errors/> tag.
+
+
Since:
+
Struts 1.2.5
+ ]]>
+
+
+
+ errorStyle
+ false
+ true
+
+ CSS styles to be applied to this HTML element if
+ an error exists for it.
+
+
N.B. If present, this overrides the
+ style attribute in the event of an error.
+
+
Since:
+
Struts 1.2.5
+ ]]>
+
+
+
+ errorStyleClass
+ false
+ true
+
+ CSS stylesheet class to be applied to this HTML element if
+ an error exists for it (renders a "class" attribute).
+
+
N.B. If present, this overrides the
+ styleClass attribute in the event of an error.
+
+
Since:
+
Struts 1.2.5
+ ]]>
+
+
+
+ errorStyleId
+ false
+ true
+
+ Identifier to be assigned to this HTML element if
+ an error exists for it (renders an "id" attribute).
+
+
N.B. If present, this overrides the
+ styleId attribute in the event of an error.
+
+
Since:
+
Struts 1.2.5
+ ]]>
+
+
+
+ indexed
+ false
+ true
+ boolean
+
+ logic:iterate tag.
+ If true then name of the html tag will be rendered as
+ "id[34].propertyName". Number in brackets will be generated
+ for every iteration and taken from ancestor logic:iterate tag.
+ ]]>
+
+
+
+ lang
+ false
+ true
+
+ The language code for this element.
+
N.B. If present, the errorStyle
+ overrides this attribute in the event of an error for the element.
+ ]]>
+
+
+
+ styleClass
+ false
+ true
+
+ CSS stylesheet class to be applied to this HTML element
+ (renders a "class" attribute).
+
+
N.B. If present, the errorStyleClass
+ overrides this attribute in the event of an error for the element.
+ ]]>
+
+
+
+ styleId
+ false
+ true
+
+ Identifier to be assigned to this HTML element (renders
+ an "id" attribute).
+
+
N.B. If present, the errorStyleId
+ overrides this attribute in the event of an error for the element.
+ ]]>
+
+
+
+ tabindex
+ false
+ true
+
+
+
+
+
+ title
+ false
+ true
+
+ The advisory title for this element.
+ ]]>
+
+
+
+ titleKey
+ false
+ true
+
+ The message resources key for the advisory title
+ for this element.
+ ]]>
+
+
+
+ value
+ false
+ true
+
+
+
+
+
+
+ errors
+ org.apache.struts.taglib.html.ErrorsTag
+ empty
+
+
+ Conditionally display a set of accumulated error messages.
+
+
+
Displays a set of error messages prepared by a business
+ logic component and stored as an ActionMessages
+ object, an ActionErrors
+ object, a String, or a String array in any scope. If
+ such a bean is not found, nothing will be rendered.
+
+
In order to use this tag successfully, you must have
+ defined an application scope MessageResources
+ bean under the default attribute name, with optional
+ definitions of message keys specified in the following
+ attributes:
+
+
header - Text that will be rendered
+ before the error messages list. Typically, this message text
+ will end with <ul> to start the
+ error messages list (default "errors.header").
+
footer - Text that will be rendered
+ after the error messages list. Typically, this message text
+ will begin with </ul> to end the error
+ messages list (default "errors.footer").
+
prefix - Text that will be rendered
+ before each individual error in the list (default "errors.prefix").
+
suffix - Text that will be rendered
+ after each individual error in the list (default "errors.suffix").
+
+
+
See the messages tag for an alternative to this tag that
+ does not rely on HTML in your MessageResources.
+ Renders an HTML <input> element of type file, defaulting to
+ the specified value or the specified property of the bean
+ associated with our current form. This tag is only valid when
+ nested inside a form tag body.
+
+
+ As with the corresponding HTML <input> element, the
+ enclosing form element must specify "POST" for the method
+ attribute, and "multipart/form-data" for the enctype
+ attribute. For example:
+
+ WARNING: In order to correctly recognize uploaded files, the ActionForm bean
+ associated with this form must include a statement setting the corresponding
+ org.apache.struts.upload.FormFile property to null in the reset() method.
+
+ ]]>
+
+
+ accesskey
+ false
+ true
+
+
+
+
+
+ accept
+ false
+ true
+
+
+
+
+
+ alt
+ false
+ true
+
+ The alternate text for this element.
+ ]]>
+
+
+
+ altKey
+ false
+ true
+
+ The message resources key of the alternate text for this
+ element.
+ ]]>
+
+
+
+ bundle
+ false
+ true
+
+
Since:
+
Struts 1.2.5
+ ]]>
+
+
+
+ dir
+ false
+ true
+
+ The direction for weak/neutral text for this element.
+
Since:
+
Struts 1.3.6
+ ]]>
+
+
+
+ disabled
+ false
+ true
+ boolean
+
+ true if this input field should be
+ disabled.
+ ]]>
+
+
+
+ errorKey
+ false
+ true
+
+ Name of the bean (in any scope) under which our error messages
+ have been stored. If not present, the name specified by the
+ Globals.ERROR_KEY constant string will be used.
+
+
N.B. This is used in conjunction with the
+ errorStyle, errorStyleClass and
+ errorStyleId attributes and should be set to
+ the same value as the name attribute on the
+ <html:errors/> tag.
+
+
Since:
+
Struts 1.2.5
+ ]]>
+
+
+
+ errorStyle
+ false
+ true
+
+ CSS styles to be applied to this HTML element if
+ an error exists for it.
+
+
N.B. If present, this overrides the
+ style attribute in the event of an error.
+
+
Since:
+
Struts 1.2.5
+ ]]>
+
+
+
+ errorStyleClass
+ false
+ true
+
+ CSS stylesheet class to be applied to this HTML element if
+ an error exists for it (renders a "class" attribute).
+
+
N.B. If present, this overrides the
+ styleClass attribute in the event of an error.
+
+
Since:
+
Struts 1.2.5
+ ]]>
+
+
+
+ errorStyleId
+ false
+ true
+
+ Identifier to be assigned to this HTML element if
+ an error exists for it (renders an "id" attribute).
+
+
N.B. If present, this overrides the
+ styleId attribute in the event of an error.
+
+
Since:
+
Struts 1.2.5
+ ]]>
+
+
+
+ indexed
+ false
+ true
+ boolean
+
+ logic:iterate tag.
+ If true then name of the html tag will be rendered as
+ "id[34].propertyName". Number in brackets will be generated
+ for every iteration and taken from ancestor logic:iterate tag.
+ ]]>
+
+
+
+ lang
+ false
+ true
+
+ The language code for this element.
+
N.B. If present, the errorStyle
+ overrides this attribute in the event of an error for the element.
+ ]]>
+
+
+
+ styleClass
+ false
+ true
+
+ CSS stylesheet class to be applied to this HTML element
+ (renders a "class" attribute).
+
+
N.B. If present, the errorStyleClass
+ overrides this attribute in the event of an error for the element.
+ ]]>
+
+
+
+ styleId
+ false
+ true
+
+ Identifier to be assigned to this HTML element (renders
+ an "id" attribute).
+
+
N.B. If present, the errorStyleId
+ overrides this attribute in the event of an error for the element.
+ ]]>
+
+
+
+ tabindex
+ false
+ true
+
+
+
+
+
+ title
+ false
+ true
+
+ The advisory title for this element.
+ ]]>
+
+
+
+ titleKey
+ false
+ true
+
+ The message resources key for the advisory title
+ for this element.
+ ]]>
+
+
+
+ value
+ false
+ true
+
+
+ NOTE: When setting this to some value, whether
+ intentional or as the result (for example) of validation errors
+ forcing the user back to the original jsp, this value is ignored
+ by most browsers (for security reasons).
+ This means that your users will have to re-select any previously
+ selected files when submitting the form. Opera web browser will
+ prompt the user so they have a chance to abort the submit.
+
+ Value to which this field should be initialized. [Use the
+ corresponding bean property value or body content (if any) if
+ property is not specified]
+ ]]>
+
+
+
+
+ form
+ org.apache.struts.taglib.html.FormTag
+ JSP
+
+
+ Define An Input Form
+
+
+
+ Renders an HTML <form> element whose contents are described
+ by the body content of this tag. The form implicitly interacts
+ with the specified request scope or session scope bean to populate
+ the input fields with the current property values from the bean.
+
+
+ The form bean is located, and created if necessary, based on the
+ form bean specification for the associated ActionMapping.
+
+ ]]>
+
+
+ action
+ false
+ true
+
+ The URL to which this form will be submitted. This
+ value is also used to select the ActionMapping we are
+ assumed to be processing, from which we can identify
+ the appropriate form bean and scope. If a value is not
+ provided, the original URI (servletPath) for the request is
+ used.
+
+
If you are using extension mapping for selecting the
+ controller servlet, this value should be equal to the
+ path attribute of the corresponding
+ <action> element, optionally
+ followed by the correct extension suffix.
+
+
If you are using path mapping to select the
+ controller servlet, this value should be exactly equal
+ to the path attribute of the corresponding
+ <action> element.
+ ]]>
+
+
+
+ acceptCharset
+ false
+ true
+
+
Since:
+
Struts 1.2.2
+ ]]>
+
+
+
+ dir
+ false
+ true
+
+ The direction for weak/neutral text for this element.
+
Since:
+
Struts 1.3.6
+ ]]>
+
+
+
+ disabled
+ false
+ true
+ boolean
+
+ true if the Form's input fields should be
+ disabled.
+
+
Renders an HTML <frame> element
+ with processing for the src attribute that is
+ identical to that performed by the <html:link>
+ tag for the href attribute. URL rewriting will be
+ applied automatically, to maintain session state in the
+ absence of cookies.
+
+
The base URL for this frame is calculated based on
+ which of the following attributes you specify (you must
+ specify exactly one of them):
+
+
forward - Use the value of this attribute as the
+ name of a global ActionForward to be looked
+ up, and use the module-relative or context-relative
+ URI found there.
+
href - Use the value of this attribute unchanged.
+
+
page - Use the value of this attribute as a
+ module-relative URI, and generate a server-relative
+ URI by including the context path and application
+ prefix.
+
action - Use the value of this attribute as the
+ logical name of a global Action that contains the actual
+ content-relative URI of the destination of this transfer.
+
+
+
Normally, the hyperlink you specify with one of the
+ attributes described in the previous paragraph will be left
+ unchanged (other than URL rewriting if necessary). However,
+ there are two ways you can append one or more dynamically
+ defined query parameters to the hyperlink -- specify a single
+ parameter with the paramId attribute (and its
+ associated attributes to select the value), or specify the
+ name (and optional property)
+ attributes to select a java.util.Map bean that
+ contains one or more parameter ids and corresponding values.
+
+
+
To specify a single parameter, use the paramId
+ attribute to define the name of the request parameter to be
+ submitted. To specify the corresponding value, use one of the
+ following approaches:
+
+
Specify only the paramName attribute
+ - The named JSP bean (optionally scoped by the value of the
+ paramScope attribute) must identify a value
+ that can be converted to a String.
+
Specify both the paramName and
+ paramProperty attributes - The specified
+ property getter method will be called on the JSP bean
+ identified by the paramName (and optional
+ paramScope) attributes, in order to select
+ a value that can be converted to a String.
+
+
+
If you prefer to specify a java.util.Map that
+ contains all of the request parameters to be added to the
+ hyperlink, use one of the following techniques:
+
+
Specify only the name attribute -
+ The named JSP bean (optionally scoped by the value of
+ the scope attribute) must identify a
+ java.util.Map containing the parameters.
+
Specify both name and
+ property attributes - The specified
+ property getter method will be called on the bean
+ identified by the name (and optional
+ scope) attributes, in order to return the
+ java.util.Map containing the parameters.
+
+
+
As the Map is processed, the keys are assumed
+ to be the names of query parameters to be appended to the
+ hyperlink. The value associated with each key must be either
+ a String or a String array representing the parameter value(s),
+ or an object whose toString() method will be called.
+ If a String array is specified, more than one value for the
+ same query parameter name will be created.
+
+
Additionally, you can request that the current transaction
+ control token, if any, be included in the generated hyperlink
+ by setting the transaction attribute to
+ true.
+ You can also request that an anchor ("#xxx") be added to the
+ end of the URL that is created by any of the above mechanisms,
+ by using the anchor attribute.
+
+ ]]>
+
+
+ bundle
+ false
+ true
+
+
Since:
+
Struts 1.2.5
+ ]]>
+
+
+
+ action
+ false
+ true
+
+ Logical name of a global Action that
+ contains the actual content-relative URI of the destination
+ of this transfer. This hyperlink may be dynamically
+ modified by the inclusion of query parameters, as described
+ in the tag description. You must specify
+ exactly one of the action attribute, the
+ forward attribute, the
+ href attribute,
+ or the page attribute.
+
+
Additionally, you can specify a module prefix
+ for linking to other modules.
+
+ ]]>
+
+
+
+ module
+ false
+ true
+
+ Prefix name of a Module that
+ contains the action mapping for the Action
+ that is specified by the action attribute.
+ You must specify an action
+ attribute for this to have an effect.
+
+
Note: Use "" to map to the default module.
+ ]]>
+
+
+
+ anchor
+ false
+ true
+
+ Optional anchor tag ("#xxx") to be added to the generated
+ hyperlink. Specify this value without any
+ "#" character.
+ ]]>
+
+
+
+ forward
+ false
+ true
+
+ Logical name of a global ActionForward that
+ contains the actual content-relative URI of the destination
+ of this transfer. This hyperlink may be dynamically
+ modified by the inclusion of query parameters, as described
+ in the tag description. You must specify
+ exactly one of the action attribute, the
+ forward attribute, the
+ href attribute,
+ or the page attribute.
+ ]]>
+
+
+
+ frameborder
+ false
+ true
+
+ Should a frame border be generated around this frame (1)
+ or not (0)?
+ ]]>
+
+
+
+ frameName
+ false
+ true
+
+ Value for the name attribute of the rendered
+ <frame> element.
+ ]]>
+
+
+
+ href
+ false
+ true
+
+ The URL to which this hyperlink will transfer control
+ if activated. This hyperlink may be dynamically modified
+ by the inclusion of query parameters, as described in the
+ tag description. You must specify
+ exactly one of the action attribute, the
+ forward attribute, the
+ href attribute,
+ or the page attribute.
+ ]]>
+
+
+
+ longdesc
+ false
+ true
+
+ URI of a long description of the frame. This description
+ should supplement the short description provided by the
+ title attribute, and may be particularly useful
+ for non-visual user agents.
+ ]]>
+
+
+
+ marginheight
+ false
+ true
+ java.lang.Integer
+
+ The amount of space (in pixels) to be left between the
+ frame's contents and its top and bottom margins.
+ ]]>
+
+
+
+ marginwidth
+ false
+ true
+ java.lang.Integer
+
+ The amount of space (in pixels) to be left between the
+ frame's contents and its left and right margins.
+ ]]>
+
+
+
+ name
+ false
+ true
+
+ The name of a JSP bean that contains a Map
+ representing the query parameters (if property
+ is not specified), or a JSP bean whose property getter is
+ called to return a Map (if property
+ is specified).
+ ]]>
+
+
+
+ noresize
+ false
+ true
+ boolean
+
+ Should users be disallowed from resizing the frame?
+ (true, false).
+ ]]>
+
+
+
+ page
+ false
+ true
+
+ The module-relative path (beginning with a "/"
+ character) to which this hyperlink will transfer control
+ if activated. This hyperlink may be dynamically modified
+ by the inclusion of query parameters, as described in the
+ tag description. You must specify exactly
+ one of the action attribute, the
+ forward attribute, the
+ href attribute,
+ or the page attribute.
+ ]]>
+
+
+
+ paramId
+ false
+ true
+
+ The name of the request parameter that will be dynamically
+ added to the generated hyperlink. The corresponding value is
+ defined by the paramName and (optional)
+ paramProperty attributes, optionally scoped by
+ the paramScope attribute
+ ]]>
+
+
+
+ paramName
+ false
+ true
+
+ The name of a JSP bean that is a String containing the
+ value for the request parameter named by paramId
+ (if paramProperty is not specified), or a JSP
+ bean whose property getter is called to return a String
+ (if paramProperty is specified). The JSP bean
+ is constrained to the bean scope specified by the
+ paramScope property, if it is specified.
+ ]]>
+
+
+
+ paramProperty
+ false
+ true
+
+ The name of a property of the bean specified by the
+ paramName attribute, whose return value must
+ be a String containing the value of the request parameter
+ (named by the paramId attribute) that will be
+ dynamically added to this hyperlink.
+ ]]>
+
+
+
+ paramScope
+ false
+ true
+
+ The scope within which to search for the bean specified
+ by the paramName attribute. If not specified,
+ all scopes are searched.
+ ]]>
+
+
+
+ property
+ false
+ true
+
+ The name of a property of the bean specified by the
+ name attribute, whose return value must be
+ a java.util.Map containing the query parameters
+ to be added to the hyperlink. You must
+ specify the name attribute if you specify
+ this attribute.
+ ]]>
+
+
+
+ scope
+ false
+ true
+
+ The scope within which to search for the bean specified
+ by the name attribute. If not specified, all
+ scopes are searched.
+ ]]>
+
+
+
+ scrolling
+ false
+ true
+
+ Should scroll bars be created unconditionally (yes),
+ never (no), or only when needed (auto)?
+ ]]>
+
+
+
+ style
+ false
+ true
+
+ CSS styles to be applied to this element.
+ ]]>
+
+
+
+ styleClass
+ false
+ true
+
+
+
+
+
+ styleId
+ false
+ true
+
+
+
+
+
+ title
+ false
+ true
+
+ The advisory title for this element.
+ ]]>
+
+
+
+ titleKey
+ false
+ true
+
+ The message resources key for the advisory title
+ for this element.
+ ]]>
+
+
+
+ transaction
+ false
+ true
+ boolean
+
+ If set to true, any current transaction
+ control token will be included in the generated hyperlink,
+ so that it will pass an isTokenValid() test
+ in the receiving Action.
+ ]]>
+
+
+
+
+ hidden
+ org.apache.struts.taglib.html.HiddenTag
+ empty
+
+
+ Render A Hidden Field
+
+
+
+ Renders an HTML <input> element of type hidden, populated
+ from the specified value or the specified property of the bean
+ associated with our current form. This tag is only valid when
+ nested inside a form tag body.
+
+ ]]>
+
+
+ accesskey
+ false
+ true
+
+
+
+
+
+ alt
+ false
+ true
+
+ The alternate text for this element.
+ ]]>
+
+
+
+ altKey
+ false
+ true
+
+ The message resources key of the alternate text for this
+ element.
+ ]]>
+
+
+
+ bundle
+ false
+ true
+
+
Since:
+
Struts 1.2.5
+ ]]>
+
+
+
+ dir
+ false
+ true
+
+ The direction for weak/neutral text for this element.
+
Since:
+
Struts 1.3.6
+ ]]>
+
+
+
+ disabled
+ false
+ true
+ boolean
+
+ true if this input field should be
+ disabled.
+ ]]>
+
+
+
+ indexed
+ false
+ true
+ boolean
+
+ logic:iterate tag.
+ If true then name of the html tag will be rendered as
+ "id[34].propertyName". Number in brackets will be generated
+ for every iteration and taken from ancestor logic:iterate tag.
+ ]]>
+
+
+
+ lang
+ false
+ true
+
+ The language code for this element.
+
Renders an HTML <html> element with
+ language attributes extracted from the user's current Locale
+ object, if there is one.
+ ]]>
+
+
+ lang
+ false
+ true
+ boolean
+
+ Accept-Language
+ HTTP header is used. If still not found, the default language for the server
+ is used.
+
+
Since:
+
Struts 1.2
+ ]]>
+
+
+
+ xhtml
+ false
+ true
+ boolean
+
+ Set to true in order to render
+ xml:lang and xmlns attributes
+ on the generated html element. This also
+ causes all other html tags to render as XHTML 1.0 (the
+ <html:xhtml/> tag has a similar purpose).
+
+
+
Since:
+
Struts 1.1
+ ]]>
+
+
+
+
+ image
+ org.apache.struts.taglib.html.ImageTag
+
+
+ Render an input tag of type "image"
+
+
+
+
Renders an HTML <input> tag of type
+ "image". The base URL for this image is calculated directly
+ based on the value specified in the src or
+ page attributes, or indirectly by looking up a
+ message resource string based on the srcKey or
+ pageKey attributes. You must
+ specify exactly one of these attributes.
+
+
If you would like to obtain the coordinates of the mouse
+ click that submitted this request, see the information below
+ on the property attribute.
+
+
This tag is only valid when nested inside a form tag body.
+
+ ]]>
+
+
+ accesskey
+ false
+ true
+
+ The keyboard character used to move focus immediately
+ to this element.
+ ]]>
+
+
+
+ align
+ false
+ true
+
+ The alignment option for this image.
+ ]]>
+
+
+
+ alt
+ false
+ true
+
+ The alternate text for this image.
+ ]]>
+
+
+
+ altKey
+ false
+ true
+
+ The message resources key of the alternate text for this
+ image.
+ ]]>
+
+
+
+ border
+ false
+ true
+
+ The width (in pixels) of the border around this image.
+ ]]>
+
+
+
+ bundle
+ false
+ true
+
+ The servlet context attribute key for the MessageResources
+ instance to use. If not specified, defaults to the
+ application resources configured for our action servlet.
+ ]]>
+
+
+
+ dir
+ false
+ true
+
+ The direction for weak/neutral text for this element.
+
Since:
+
Struts 1.3.6
+ ]]>
+
+
+
+ disabled
+ false
+ true
+ boolean
+
+ true if this input field should be
+ disabled.
+ ]]>
+
+
+
+ indexed
+ false
+ true
+ boolean
+
+ true
+ then name of the html tag will be rendered as
+ "propertyName[34]". Number in brackets will be generated for
+ every iteration and taken from ancestor logic:iterate tag.
+ ]]>
+
+
+
+ lang
+ false
+ true
+
+ The language code for this element.
+
Since:
+
Struts 1.3.6
+ ]]>
+
+
+
+ locale
+ false
+ true
+
+ The session attribute key for the Locale used to select
+ internationalized messages. If not specified, defaults to the
+ Struts standard value.
+ ]]>
+
+
+
+ module
+ false
+ true
+
+ Prefix name of a Module that
+ the page or pageKey
+ attributes relate to.
+ ]]>
+
+
+
+ onblur
+ false
+ true
+
+
+
+
+
+ onchange
+ false
+ true
+
+
+
+
+
+ onclick
+ false
+ true
+
+
+
+
+
+ ondblclick
+ false
+ true
+
+
+
+
+
+ onfocus
+ false
+ true
+
+
+
+
+
+ onkeydown
+ false
+ true
+
+
+
+
+
+ onkeypress
+ false
+ true
+
+
+
+
+
+ onkeyup
+ false
+ true
+
+
+
+
+
+ onmousedown
+ false
+ true
+
+
+
+
+
+ onmousemove
+ false
+ true
+
+
+
+
+
+ onmouseout
+ false
+ true
+
+
+
+
+
+ onmouseover
+ false
+ true
+
+
+
+
+
+ onmouseup
+ false
+ true
+
+
+
+
+
+ page
+ false
+ true
+
+ The module-relative path of the image for this
+ input tag.
+ ]]>
+
+
+
+ pageKey
+ false
+ true
+
+ The key of the message resources string specifying the
+ module-relative path of the image for this input tag.
+ ]]>
+
+
+
+ property
+ false
+ true
+
+ The property name of this image tag. The parameter names
+ for the request will appear as "property.x" and "property.y",
+ the x and y representing the coordinates of the mouse click
+ for the image. A way of retrieving these values through a
+ form bean is to define getX(), getY(), setX(), and setY()
+ methods, and specify your property as a blank string
+ (property="").
+ ]]>
+
+
+
+ src
+ false
+ true
+
+ The source URL of the image for this input tag.
+ ]]>
+
+
+
+ srcKey
+ false
+ true
+
+ The key of the message resources string specifying the
+ source URL of the image for this input tag.
+ ]]>
+
+
+
+ style
+ false
+ true
+
+
+
+
+
+ styleClass
+ false
+ true
+
+
+
+
+
+ styleId
+ false
+ true
+
+
+
+
+
+ tabindex
+ false
+ true
+
+
+
+
+
+ title
+ false
+ true
+
+ The advisory title for this element.
+ ]]>
+
+
+
+ titleKey
+ false
+ true
+
+ The message resources key for the advisory title
+ for this element.
+ ]]>
+
+
+
+ value
+ false
+ true
+
+ The value that will be submitted if this image button
+ is pressed.
+ ]]>
+
+
+
+
+ img
+ org.apache.struts.taglib.html.ImgTag
+ empty
+
+ Render an HTML img tag
+
+
+
Renders an HTML <img> element with
+ the image at the specified URL. Like the link tag, URL
+ rewriting will be applied automatically to the value
+ specified in src, page, or
+ action to maintain session state
+ in the absence of cookies. This will allow dynamic
+ generation of an image where the content displayed for this
+ image will be taken from the attributes of this tag.
+
+
The base URL for this image is calculated directly based on
+ the value specified in src, page, or
+ action or page,
+ or indirectly by looking up a message resource string based on
+ the srcKey or pageKey attributes.
+ You must specify exactly one of these
+ attributes.
+
+
Normally, the src, page, or
+ action that you specify will be left
+ unchanged (other than URL rewriting if necessary). However,
+ there are two ways you can append one or more dynamically
+ defined query parameters to the src URL --
+ specify a single parameter with the paramId
+ attribute (at its associated attributes to select the value),
+ or specify the name (and optional
+ property) attributes to select a
+ java.util.Map bean that contains one or more
+ parameter ids and corresponding values.
+
+
To specify a single parameter, use the paramId
+ attribute to define the name of the request parameter to be
+ submitted. To specify the corresponding value, use one of the
+ following approaches:
+
+
Specify only the paramName attribute
+ - The named JSP bean (optionally scoped by the value of the
+ paramScope attribute) must identify a value
+ that can be converted to a String.
+
Specify both the paramName and
+ paramProperty attributes - The specified
+ property getter will be called on the JSP bean identified
+ by the paramName (and optional
+ paramScope) attributes, in order to select
+ a value that can be converted to a String.
+
+
+
If you prefer to specify a java.util.Map that
+ contains all of the request parameters to be added to the
+ hyperlink, use one of the following techniques:
+
+
Specify only the name attribute -
+ The named JSP bean (optionally scoped by the value of
+ the scope attribute) must identify a
+ java.util.Map containing the parameters.
+
Specify both name and
+ property attributes - The specified
+ property getter method will be called on the bean
+ identified by the name (and optional
+ scope) attributes, in order to return the
+ java.util.Map containing the parameters.
+
+
+
As the Map is processed, the keys are assumed
+ to be the names of query parameters to be appended to the
+ src URL. The value associated with each key
+ must be either a String or a String array representing the
+ parameter value(s), or an object whose toString() method
+ will be called. If a String array is specified, more than
+ one value for the same query parameter name will be
+ created.
+
+
You can specify the alternate text for this image (which
+ most browsers display as pop-up text block when the user
+ hovers the mouse over this image) either directly, through
+ the alt attribute, or indirectly from a message
+ resources bundle, using the bundle and
+ altKey attributes.
+
+ ]]>
+
+
+ align
+ false
+ true
+
+ Where the image is aligned to. Can be one of the
+ following attributes:
+
+
left - left justify, wrapping text on right
+
right -right justify, wrapping test on left
+
top - aligns the image with the top of the text on
+ the same row
+
middle - aligns the image's vertical center with the
+ text base line
+
bottom - aligns the image with the bottom of the
+ text's base line
+
texttop - aligns the image's top with that of the
+ text font on the same line
+
absmiddle - aligns the image's vertical center with the
+ absolute center of the text
+
absbottom - aligns the image with the absolute bottom
+ of the text font on the same row
+
+ ]]>
+
+
+
+ alt
+ false
+ true
+
+ And alternative text to be displayed in browsers that
+ don't support graphics. Also used often as type of
+ context help over images.
+ ]]>
+
+
+
+ altKey
+ false
+ true
+
+ The message resources key of the alternate text for this
+ element.
+ ]]>
+
+
+
+ border
+ false
+ true
+
+ The width of the border surrounding the image.
+ ]]>
+
+
+
+ bundle
+ false
+ true
+
+ The servlet context attribute key for the MessageResources
+ instance to use. If not specified, defaults to the
+ application resources configured for our action servlet.
+ ]]>
+
+
+
+ dir
+ false
+ true
+
+ The direction for weak/neutral text for this element.
+
Since:
+
Struts 1.3.6
+ ]]>
+
+
+
+ height
+ false
+ true
+
+ The height of the image being displayed. This parameter
+ is very nice to specify (along with width)
+ to help the browser render the page faster.
+ ]]>
+
+
+
+ hspace
+ false
+ true
+
+ The amount of horizontal spacing between the icon and
+ the text. The text may be in the same paragraph, or
+ be wrapped around the image.
+ ]]>
+
+
+
+ imageName
+ false
+ true
+
+ The scriptable name to be defined within this page, so
+ that you can reference it with intra-page scripts. In other
+ words, the value specified here will render a "name" element
+ in the generated image tag.
+ ]]>
+
+
+
+ ismap
+ false
+ true
+
+ The name of the server-side map that this image belongs
+ to.
+ ]]>
+
+
+
+ lang
+ false
+ true
+
+ The language code for this element.
+
Since:
+
Struts 1.3.6
+ ]]>
+
+
+
+ locale
+ false
+ true
+
+ The name of the request or session Locale attribute used
+ to look up internationalized messages.
+ ]]>
+
+
+
+ name
+ false
+ true
+
+ The name of a JSP bean that contains a Map
+ representing the query parameters (if property
+ is not specified), or a JSP bean whose property getter is
+ called to return a Map (if property
+ is specified).
+ ]]>
+
+
+
+ onclick
+ false
+ true
+
+
+
+
+
+ ondblclick
+ false
+ true
+
+
+
+
+
+ onkeydown
+ false
+ true
+
+ JavaScript event handler that is executed when
+ this element receives a key down event.
+ ]]>
+
+
+
+ onkeypress
+ false
+ true
+
+ JavaScript event handler that is executed when
+ this element receives a key press event.
+ ]]>
+
+
+
+ onkeyup
+ false
+ true
+
+ JavaScript event handler that is executed when
+ this element receives a key up event.
+ ]]>
+
+
+
+ onmousedown
+ false
+ true
+
+
+
+
+
+ onmousemove
+ false
+ true
+
+
+
+
+
+ onmouseout
+ false
+ true
+
+
+
+
+
+ onmouseover
+ false
+ true
+
+
+
+
+
+ onmouseup
+ false
+ true
+
+
+
+
+
+ paramId
+ false
+ true
+
+ The name of the request parameter that will be dynamically
+ added to the generated src URL. The corresponding value is
+ defined by the paramName and (optional)
+ paramProperty attributes, optionally scoped by
+ the paramScope attribute
+ ]]>
+
+
+
+ page
+ false
+ true
+
+ The module-relative path, starting with a slash, of
+ the image to be displayed by this tag. The rendered
+ URL for this image will automatically prepend the context
+ path of this web application (in the same manner as the
+ page attribute on the link tag works),
+ in addition to any necessary URL rewriting. You
+ must specify either the page
+ attribute or the src attribute.
+ ]]>
+
+
+
+ pageKey
+ false
+ true
+
+ The message key, in the message resources bundle named by
+ the bundle attribute, of the String to be
+ used as the module-relative path for this image.
+ ]]>
+
+
+
+ action
+ false
+ true
+
+ The action, starting with a slash, that will render
+ the image to be displayed by this tag. The rendered
+ URL for this image will automatically prepend the context
+ path of this web application (in the same manner as the
+ action attribute on the link tag works),
+ in addition to any necessary URL rewriting. You
+ must specify the action,
+ page
+ attribute or the src attribute.
+
+
Additionally, you can specify a module prefix
+ for linking to other modules.
+
+ ]]>
+
+
+
+ module
+ false
+ true
+
+ Prefix name of a Module that
+ contains the action mapping for the Action
+ that is specified by the action attribute.
+ You must specify an action
+ attribute for this to have an effect.
+
+
Note: Use "" to map to the default module.
+ ]]>
+
+
+
+ paramName
+ false
+ true
+
+ The name of a JSP bean that is a String containing the
+ value for the request parameter named by paramId
+ (if paramProperty is not specified), or a JSP
+ bean whose property getter is called to return a String
+ (if paramProperty is specified). The JSP bean
+ is constrained to the bean scope specified by the
+ paramScope property, if it is specified.
+ ]]>
+
+
+
+ paramProperty
+ false
+ true
+
+ The name of a property of the bean specified by the
+ paramName attribute, whose return value must
+ be a String containing the value of the request parameter
+ (named by the paramId attribute) that will be
+ dynamically added to this src URL.
+ ]]>
+
+
+
+ paramScope
+ false
+ true
+
+ The scope within which to search for the bean specified
+ by the paramName attribute. If not specified,
+ all scopes are searched.
+ ]]>
+
+
+
+ property
+ false
+ true
+
+ The name of a property of the bean specified by the
+ name attribute, whose return value must be
+ a java.util.Map containing the query parameters
+ to be added to the src URL. You must
+ specify the name attribute if you specify
+ this attribute.
+ ]]>
+
+
+
+ scope
+ false
+ true
+
+ The scope within which to search for the bean specified
+ by the name attribute. If not specified, all
+ scopes are searched.
+ ]]>
+
+
+
+ src
+ false
+ true
+
+ The URL to which this image will be transferred from
+ This image may be dynamically modified
+ by the inclusion of query parameters, as described in the
+ tag description. This value will be used unmodified (other
+ than potential URL rewriting) as the value of the "src"
+ attribute in the rendered tag. You must
+ specify either the page attribute or the
+ src attribute.
+ ]]>
+
+
+
+ srcKey
+ false
+ true
+
+ The message key, in the message resources bundle named by
+ the bundle attribute, of the String to be
+ used as the URL of this image.
+ ]]>
+
+
+
+ style
+ false
+ true
+
+ CSS styles to be applied to this element.
+ ]]>
+
+
+
+ styleClass
+ false
+ true
+
+
+
+
+
+ styleId
+ false
+ true
+
+
+
+
+
+ title
+ false
+ true
+
+ The advisory title for this element.
+ ]]>
+
+
+
+ titleKey
+ false
+ true
+
+ The message resources key for the advisory title
+ for this element.
+ ]]>
+
+
+
+ useLocalEncoding
+ false
+ true
+ boolean
+
+ If set to true, LocalCharacterEncoding will be
+ used, that is, the characterEncoding set to the HttpServletResponse,
+ as prefered character encoding rather than UTF-8, when
+ URLEncoding is done on parameters of the URL.
+ ]]>
+
+
+
+ usemap
+ false
+ true
+
+ The name of the map as defined within this page for
+ mapping hot-spot areas of this image.
+ ]]>
+
+
+
+ vspace
+ false
+ true
+
+ The amount of vertical spacing between the icon and
+ the text, above and below.
+ ]]>
+
+
+
+ width
+ false
+ true
+
+ The width of the image being displayed. This parameter
+ is very nice to specify (along with height)
+ to help the browser render the page faster.
+ ]]>
+
+
+
+
+ javascript
+
+ org.apache.struts.taglib.html.JavascriptValidatorTag
+ empty
+
+
+ Render JavaScript validation based on the
+ validation rules loaded by the ValidatorPlugIn.
+
+
+
+ Render JavaScript validation based on the
+ validation rules loaded by the ValidatorPlugIn.
+ The set of validation rules that should be generated is based
+ on the formName attribute passed in, which should match
+ the name attribute of the form element in the xml file.
+
+
+ The dynamicJavascript and staticJavascript attributes
+ default to true, but if dynamicJavascript is set to true
+ and staticJavascript is set to false then only
+ the dynamic JavaScript will be rendered. If dynamicJavascript
+ is set to false
+ and staticJavascript is set to true then only
+ the static JavaScript will be rendered which can then be put in
+ separate JSP page so the browser can cache the static JavaScript.
+
+ ]]>
+
+
+ cdata
+ false
+ true
+
+
+ If set to "true" and XHTML has been enabled, the JavaScript will
+ be wrapped in a CDATA section to prevent XML parsing. The default is
+ "true" to comply with the W3C's recommendation.
+
+
+
Since:
+
Struts 1.1
+ ]]>
+
+
+
+ dynamicJavascript
+ false
+ true
+
+
+ Whether or not to render the dynamic JavaScript.
+ Defaults to true.
+
+ ]]>
+
+
+
+ formName
+ false
+ true
+
+
+ The key (form name) to retrieve a specific
+ set of validation rules. If "dynamicJavascript" is set
+ to true and formName is missing or is not
+ recognized by the ValidatorPlugIn, a
+ JspException will be thrown.
+
+ ]]>
+
+
+
+ method
+ false
+ true
+
+
+ The alternate JavaScript method name to be used
+ instead of the of the default. The default is
+ 'validate' concatenated in front of
+ the key (form name) passed in (ex: validateRegistrationForm).
+
+ ]]>
+
+
+
+ page
+ false
+ true
+ int
+
+
+ The current page of a set of validation rules
+ if the page attribute for the field element
+ in the xml file is in use.
+
+ ]]>
+
+
+
+ scriptLanguage
+ false
+ true
+ boolean
+
+
Since:
+
Struts 1.2
+ ]]>
+
+
+
+ src
+ false
+ true
+
+
+ The src attribute's value when defining
+ the html script element.
+
+ ]]>
+
+
+
+ staticJavascript
+ false
+ true
+
+
+ Whether or not to render the static JavaScript.
+ Defaults to true.
+
+ ]]>
+
+
+
+ htmlComment
+ false
+ true
+
+
+ Whether or not to enclose the javascript
+ with HTML comments. This attribute is ignored in XHTML
+ mode because the script would be deleted by the XML parser. See
+ the cdata attribute for details on hiding scripts from XML
+ parsers.
+ Defaults to true.
+
+ ]]>
+
+
+
+ bundle
+ false
+ true
+
+
Since:
+
Struts 1.2.7
+ ]]>
+
+
+
+
+ link
+ org.apache.struts.taglib.html.LinkTag
+ JSP
+
+ Render an HTML anchor or hyperlink
+
+
+
Renders an HTML <a> element as an
+ anchor definition (if "linkName" is specified) or as a
+ hyperlink to the specified URL. URL rewriting will be
+ applied automatically, to maintain session state in the
+ absence of cookies. The content displayed for this
+ hyperlink will be taken from the body of this tag.
+
+
The base URL for this hyperlink is calculated based on
+ which of the following attributes you specify (you must
+ specify exactly one of them):
+
+
forward - Use the value of this attribute as the
+ name of a global ActionForward to be looked
+ up, and use the module-relative or context-relative
+ URI found there. If the forward is module-relative then
+ it must point to an action and NOT to a page.
+
action - Use the value of this attribute as the
+ name of a Action to be looked
+ up, and use the module-relative or context-relative
+ URI found there.
+
href - Use the value of this attribute unchanged.
+
+
page - Use the value of this attribute as a
+ module-relative URI, and generate a server-relative
+ URI by including the context path and module
+ prefix.
+
+
+
Normally, the hyperlink you specify with one of the
+ attributes described in the previous paragraph will be left
+ unchanged (other than URL rewriting if necessary). However,
+ there are three ways you can append one or more dynamically
+ defined query parameters to the hyperlink -- specify a single
+ parameter with the paramId attribute (and its
+ associated attributes to select the value), or specify the
+ name (and optional property)
+ attributes to select a java.util.Map bean that
+ contains one or more parameter ids and corresponding values,
+ or nest one or more lt&;html:param> tags in the tag body.
+
+
+
To specify a single parameter, use the paramId
+ attribute to define the name of the request parameter to be
+ submitted. To specify the corresponding value, use one of the
+ following approaches:
+
+
Specify only the paramName attribute
+ - The named JSP bean (optionally scoped by the value of the
+ paramScope attribute) must identify a value
+ that can be converted to a String.
+
Specify both the paramName and
+ paramProperty attributes - The specified
+ property getter method will be called on the JSP bean
+ identified by the paramName (and optional
+ paramScope) attributes, in order to select
+ a value that can be converted to a String.
+
+
+
If you prefer to specify a java.util.Map that
+ contains all of the request parameters to be added to the
+ hyperlink, use one of the following techniques:
+
+
Specify only the name attribute -
+ The named JSP bean (optionally scoped by the value of
+ the scope attribute) must identify a
+ java.util.Map containing the parameters.
+
Specify both name and
+ property attributes - The specified
+ property getter method will be called on the bean
+ identified by the name (and optional
+ scope) attributes, in order to return the
+ java.util.Map containing the parameters.
+
+
+
As the Map is processed, the keys are assumed
+ to be the names of query parameters to be appended to the
+ hyperlink. The value associated with each key must be either
+ a String or a String array representing the parameter value(s),
+ or an object whose toString() method will be called.
+ If a String array is specified, more than one value for the
+ same query parameter name will be created.
+
+
Supplmenting these two methods, you can nest one or more
+ lt&;html:param> tags to dynamically add parameters in a
+ logic-friendly way (such as executing a for loop that
+ assigns the name/value pairs at runtime). This method does
+ not compete with the aforementioned; it will adds its
+ parameters in addition to whatever parameters are
+ already specified.
+
+
Additionally, you can request that the current transaction
+ control token, if any, be included in the generated hyperlink
+ by setting the transaction attribute to
+ true.
+ You can also request that an anchor ("#xxx") be added to the
+ end of the URL that is created by any of the above mechanisms,
+ by using the anchor attribute.
+
+ ]]>
+
+
+ accesskey
+ false
+ true
+
+ The keyboard character used to move focus immediately
+ to this element.
+ ]]>
+
+
+
+ action
+ false
+ true
+
+ Logical name of a Action that
+ contains the actual content-relative URI of the destination
+ of this transfer. This hyperlink may be dynamically
+ modified by the inclusion of query parameters, as described
+ in the tag description. You must specify
+ exactly one of the action attribute, the
+ forward attribute, the
+ href attribute, the linkName
+ attribute, or the page attribute.
+
+
Additionally, you can specify a module prefix
+ for linking to other modules.
+
+ ]]>
+
+
+
+ module
+ false
+ true
+
+ Prefix name of a Module that
+ contains the action mapping for the Action
+ that is specified by the action attribute.
+ You must specify an action
+ attribute for this to have an effect.
+
+
Note: Use "" to map to the default module.
+ ]]>
+
+
+
+ anchor
+ false
+ true
+
+ Optional anchor tag ("#xxx") to be added to the generated
+ hyperlink. Specify this value without any
+ "#" character.
+ ]]>
+
+
+
+ dir
+ false
+ true
+
+ The direction for weak/neutral text for this element.
+
Since:
+
Struts 1.3.6
+ ]]>
+
+
+
+ forward
+ false
+ true
+
+ Logical name of a global ActionForward that
+ contains the actual content-relative URI of the destination
+ of this transfer. This hyperlink may be dynamically
+ modified by the inclusion of query parameters, as described
+ in the tag description. You must specify
+ exactly one of the action attribute, the
+ forward attribute, the
+ href attribute, the linkName
+ attribute, or the page attribute.
+ ]]>
+
+
+
+ href
+ false
+ true
+
+ The URL to which this hyperlink will transfer control
+ if activated. This hyperlink may be dynamically modified
+ by the inclusion of query parameters, as described in the
+ tag description. You must specify
+ exactly one of the action attribute, the
+ forward attribute, the
+ href attribute, the linkName
+ attribute, or the page attribute.
+ ]]>
+
+
+
+ indexed
+ false
+ true
+ boolean
+
+ true then indexed parameter with name from indexId attribute
+ will be added to the query string. Indexed parameter looks like
+ "index[32]". Number in brackets will be generated
+ for every iteration and taken from ancestor logic:iterate tag.
+ ]]>
+
+
+
+ indexId
+ false
+ true
+
+
+
+
+
+ bundle
+ false
+ true
+
+
Since:
+
Struts 1.2.5
+ ]]>
+
+
+
+ lang
+ false
+ true
+
+ The language code for this element.
+
Since:
+
Struts 1.3.6
+ ]]>
+
+
+
+ linkName
+ false
+ true
+
+ The anchor name to be defined within this page, so that
+ you can reference it with intra-page hyperlinks. In other
+ words, the value specified here will render a "name" element
+ in the generated anchor tag.
+ ]]>
+
+
+
+ name
+ false
+ true
+
+ The name of a JSP bean that contains a Map
+ representing the query parameters (if property
+ is not specified), or a JSP bean whose property getter is
+ called to return a Map (if property
+ is specified).
+ ]]>
+
+
+
+ onblur
+ false
+ true
+
+ JavaScript event handler that is executed when
+ this element loses input focus.
+ ]]>
+
+
+
+ onclick
+ false
+ true
+
+ JavaScript event handler that is executed when
+ this element receives a mouse click.
+ ]]>
+
+
+
+ ondblclick
+ false
+ true
+
+ JavaScript event handler that is executed when
+ this element receives a mouse double click.
+ ]]>
+
+
+
+ onfocus
+ false
+ true
+
+ JavaScript event handler that is executed when
+ this element receives input focus.
+ ]]>
+
+
+
+ onkeydown
+ false
+ true
+
+ JavaScript event handler that is executed when
+ this element receives a key down event.
+ ]]>
+
+
+
+ onkeypress
+ false
+ true
+
+ JavaScript event handler that is executed when
+ this element receives a key press event.
+ ]]>
+
+
+
+ onkeyup
+ false
+ true
+
+ JavaScript event handler that is executed when
+ this element receives a key up event.
+ ]]>
+
+
+
+ onmousedown
+ false
+ true
+
+ JavaScript event handler that is executed when
+ this element receives a mouse down event.
+ ]]>
+
+
+
+ onmousemove
+ false
+ true
+
+ JavaScript event handler that is executed when
+ this element receives a mouse move event.
+ ]]>
+
+
+
+ onmouseout
+ false
+ true
+
+ JavaScript event handler that is executed when
+ this element receives a mouse out event.
+ ]]>
+
+
+
+ onmouseover
+ false
+ true
+
+ JavaScript event handler that is executed when
+ this element receives a mouse over event.
+ ]]>
+
+
+
+ onmouseup
+ false
+ true
+
+ JavaScript event handler that is executed when
+ this element receives a mouse up event.
+ ]]>
+
+
+
+ page
+ false
+ true
+
+ The module-relative path (beginning with a "/"
+ character) to which this hyperlink will transfer control
+ if activated. This hyperlink may be dynamically modified
+ by the inclusion of query parameters, as described in the
+ tag description. You must specify exactly
+ one of the action attribute,
+ forward attribute, the
+ href attribute, the linkName
+ attribute, or the page attribute.
+ ]]>
+
+
+
+ paramId
+ false
+ true
+
+ The name of the request parameter that will be dynamically
+ added to the generated hyperlink. The corresponding value is
+ defined by the paramName and (optional)
+ paramProperty attributes, optionally scoped by
+ the paramScope attribute
+ ]]>
+
+
+
+ paramName
+ false
+ true
+
+ The name of a JSP bean that is a String containing the
+ value for the request parameter named by paramId
+ (if paramProperty is not specified), or a JSP
+ bean whose property getter is called to return a String
+ (if paramProperty is specified). The JSP bean
+ is constrained to the bean scope specified by the
+ paramScope property, if it is specified.
+ ]]>
+
+
+
+ paramProperty
+ false
+ true
+
+ The name of a property of the bean specified by the
+ paramName attribute, whose return value must
+ be a String containing the value of the request parameter
+ (named by the paramId attribute) that will be
+ dynamically added to this hyperlink.
+ ]]>
+
+
+
+ paramScope
+ false
+ true
+
+ The scope within which to search for the bean specified
+ by the paramName attribute. If not specified,
+ all scopes are searched.
+ ]]>
+
+
+
+ property
+ false
+ true
+
+ The name of a property of the bean specified by the
+ name attribute, whose return value must be
+ a java.util.Map containing the query parameters
+ to be added to the hyperlink. You must
+ specify the name attribute if you specify
+ this attribute.
+ ]]>
+
+
+
+ scope
+ false
+ true
+
+ The scope within which to search for the bean specified
+ by the name attribute. If not specified, all
+ scopes are searched.
+ ]]>
+
+
+
+ style
+ false
+ true
+
+ CSS styles to be applied to this element.
+ ]]>
+
+
+
+ styleClass
+ false
+ true
+
+
+
+
+
+ styleId
+ false
+ true
+
+
+
+
+
+ tabindex
+ false
+ true
+
+ The tab order (ascending positive integers) for
+ this element.
+ ]]>
+
+
+
+ target
+ false
+ true
+
+ The window target in which the resource requested by this
+ hyperlink will be displayed, for example in a framed
+ presentation.
+ ]]>
+
+
+
+ title
+ false
+ true
+
+ The advisory title for this hyperlink.
+ ]]>
+
+
+
+ titleKey
+ false
+ true
+
+ The message resources key for the advisory title
+ for this element.
+ ]]>
+
+
+
+ transaction
+ false
+ true
+ boolean
+
+ If set to true, any current transaction
+ control token will be included in the generated hyperlink,
+ so that it will pass an isTokenValid() test
+ in the receiving Action.
+ ]]>
+
+
+
+ useLocalEncoding
+ false
+ true
+ boolean
+
+ If set to true, LocalCharacterEncoding will be
+ used, that is, the characterEncoding set to the HttpServletResponse,
+ as prefered character encoding rather than UTF-8, when
+ URLEncoding is done on parameters of the URL.
+ ]]>
+
+
+
+
+ param
+ org.apache.struts.taglib.html.ParamTag
+
+ Adds a parameter to the following tags:
+
+
+ ]]>
+
+
+ name
+ true
+ true
+
+ The String containing the name of the request parameter.
+ ]]>
+
+
+
+ value
+ false
+ true
+
+ The value of the request parameter specified by the
+ name attribute, whose return value must
+ be a String or String[] that will be dynamically added to
+ this hyperlink.
+ ]]>
+
+
+
+
+ messages
+ org.apache.struts.taglib.html.MessagesTag
+ org.apache.struts.taglib.html.MessagesTei
+ JSP
+
+
+ Conditionally display a set of accumulated messages.
+
+
+
Displays a set of messages prepared by a business
+ logic component and stored as an ActionMessages
+ object, ActionErrors object, a String,
+ or a String array in any scope. If
+ such a bean is not found, nothing will be rendered. The messages are
+ placed into the page scope in the body of this tag where they can be displayed
+ by standard JSP methods. (For example: <bean:write>,<c:out>)
+
+
+
In order to use this tag successfully, you must have
+ defined an application scope MessageResources
+ bean under the default attribute name.
+ ]]>
+
+
+ id
+ true
+ false
+
+ null.
+ ]]>
+
+
+
+ bundle
+ false
+ true
+
+
+
+
+
+ locale
+ false
+ true
+
+
+
+
+
+ name
+ false
+ true
+
+ Globals.ERROR_KEY constant string will be used.
+ ]]>
+
+
+
+ property
+ false
+ true
+
+
+
+
+
+ header
+ false
+ true
+
+
+
+
+
+ footer
+ false
+ true
+
+
+
+
+
+ message
+ false
+ true
+
+ Globals.ERROR_KEY constant string,
+ but if this attribute is set to 'true' the bean
+ will be retrieved from the Globals.MESSAGE_KEY
+ constant string. Also if this is set to 'true', any value
+ assigned to the name attribute will be ignored.
+ ]]>
+
+
+
+
+ multibox
+ org.apache.struts.taglib.html.MultiboxTag
+
+
+ Render A Checkbox Input Field
+
+
+
Renders an HTML <input> element of type
+ checkbox, whose "checked" status is
+ initialized based on whether the specified value
+ matches one of the elements of the underlying
+ property's array of current values. This element is
+ useful when you have large numbers of checkboxes, and
+ prefer to combine the values into a single
+ array-valued property instead of multiple boolean
+ properties. This tag is only valid when nested
+ inside a form tag body.
+
+
WARNING: In order to correctly
+ recognize cases where none of the associated checkboxes
+ are selected, the ActionForm bean
+ associated with this form must include a statement
+ setting the corresponding array to zero length in the
+ reset() method.
+
+
The value to be returned to the server, if this checkbox is
+ selected, must be defined by one of the following methods:
+
+
Specify a value attribute, whose contents will
+ be used literally as the value to be returned.
+
Specify no value attribute, and the nested
+ body content of this tag will be used as the value to be
+ returned.
+
+
+
+ Also note that a map backed attribute cannot be used to hold a the String[]
+ for a group of multibox tags.
+
+
+ ]]>
+
+
+ accesskey
+ false
+ true
+
+
+
+
+
+ alt
+ false
+ true
+
+ The alternate text for this element.
+ ]]>
+
+
+
+ altKey
+ false
+ true
+
+ The message resources key of the alternate text for this
+ element.
+ ]]>
+
+
+
+ bundle
+ false
+ true
+
+
Since:
+
Struts 1.2.5
+ ]]>
+
+
+
+ disabled
+ false
+ true
+ boolean
+
+ true if this input field should be
+ disabled.
+ ]]>
+
+
+
+ errorKey
+ false
+ true
+
+ Name of the bean (in any scope) under which our error messages
+ have been stored. If not present, the name specified by the
+ Globals.ERROR_KEY constant string will be used.
+
+
N.B. This is used in conjunction with the
+ errorStyle, errorStyleClass and
+ errorStyleId attributes and should be set to
+ the same value as the name attribute on the
+ <html:errors/> tag.
+
+
Since:
+
Struts 1.2.5
+ ]]>
+
+
+
+ errorStyle
+ false
+ true
+
+ CSS styles to be applied to this HTML element if
+ an error exists for it.
+
+
N.B. If present, this overrides the
+ style attribute in the event of an error.
+
+
Since:
+
Struts 1.2.5
+ ]]>
+
+
+
+ errorStyleClass
+ false
+ true
+
+ CSS stylesheet class to be applied to this HTML element if
+ an error exists for it (renders a "class" attribute).
+
+
N.B. If present, this overrides the
+ styleClass attribute in the event of an error.
+
+
Since:
+
Struts 1.2.5
+ ]]>
+
+
+
+ errorStyleId
+ false
+ true
+
+ Identifier to be assigned to this HTML element if
+ an error exists for it (renders an "id" attribute).
+
+
N.B. If present, this overrides the
+ styleId attribute in the event of an error.
N.B. If present, the errorStyle
+ overrides this attribute in the event of an error for the element.
+ ]]>
+
+
+
+ styleClass
+ false
+ true
+
+ CSS stylesheet class to be applied to this HTML element
+ (renders a "class" attribute).
+
+
N.B. If present, the errorStyleClass
+ overrides this attribute in the event of an error for the element.
+ ]]>
+
+
+
+ styleId
+ false
+ true
+
+ Identifier to be assigned to this HTML element (renders
+ an "id" attribute).
+
+
N.B. If present, the errorStyleId
+ overrides this attribute in the event of an error for the element.
+ ]]>
+
+
+
+ tabindex
+ false
+ true
+
+
+
+
+
+ title
+ false
+ true
+
+ The advisory title for this element.
+ ]]>
+
+
+
+ titleKey
+ false
+ true
+
+ The message resources key for the advisory title
+ for this element.
+ ]]>
+
+
+
+ value
+ false
+ true
+
+
+
+
+
+
+ option
+ org.apache.struts.taglib.html.OptionTag
+
+
+ Render A Select Option
+
+
+
Render an HTML <option> element,
+ representing one of the choices for an enclosing
+ <select> element. The text displayed to the
+ user comes from either the body of this tag, or from a message
+ string looked up based on the bundle,
+ locale, and key attributes.
+
+
If the value of the corresponding bean property matches the
+ specified value, this option will be marked selected. This tag
+ is only valid when nested inside a
+ <html:select> tag body.
+ ]]>
+
+
+ bundle
+ false
+ true
+
+
+
+
+
+ dir
+ false
+ true
+
+ The direction for weak/neutral text for this element.
+
Since:
+
Struts 1.3.6
+ ]]>
+
+
+
+ disabled
+ false
+ true
+ boolean
+
+ true if this option should be
+ disabled.
+ ]]>
+
+
+
+ filter
+ false
+ true
+ boolean
+
+ true if you want the option label to be
+ filtered for sensitive characters in HTML. By default, such
+ a value is NOT filtered.
+ ]]>
+
+
+
+ lang
+ false
+ true
+
+ The language code for this element.
+
Since:
+
Struts 1.3.6
+ ]]>
+
+
+
+ key
+ false
+ true
+
+ bundle for
+ the text displayed to the user for this option. If not
+ specified, the text to be displayed is taken from the body
+ content of this tag.
+ ]]>
+
+
+
+ locale
+ false
+ true
+
+ key attribute. If not specified, uses the
+ standard Struts session attribute name.
+ ]]>
+
+
+
+ style
+ false
+ true
+
+
+
+
+
+ styleId
+ false
+ true
+
+
+
+
+
+ styleClass
+ false
+ true
+
+
+
+
+
+ value
+ true
+ true
+
+
+
+
+
+
+ options
+ org.apache.struts.taglib.html.OptionsTag
+ empty
+
+
+ Render a Collection of Select Options
+
+
+
Renders a set of HTML <option> elements,
+ representing possible choices for a <select>
+ element. This tag can be used multiple times within a single
+ <html:select> element, either in conjunction
+ with or instead of one or more <html:option>
+ or <html:optionsCollection> elements.
+
+
This tag operates in one of two major modes, depending on
+ whether or not the collection attribute is
+ specified. If the collection attribute is
+ included, the following rules apply:
+
+
The collection attribute is interpreted
+ as the name of a JSP bean, in some scope, that itself
+ represents a collection of individual beans, one per option
+ value to be rendered.
+
The property attribute is interpreted as
+ the name of a property of the individual beans included in
+ the collection, and is used to retrieve the value that will
+ be returned to the server if this option is selected.
+
The labelProperty attribute is interpreted
+ as the name of a property of the individual beans included
+ in the collection, and is used to retrieve the label that
+ will be displayed to the user for this option. If the
+ labelProperty attribute is not specified, the
+ property named by the property attribute will
+ be used to select both the value returned to the server and
+ the label displayed to the user for this option.
+
+
+
If the collection attribute is not specified,
+ the rules described in the remainder of this section apply.
+
+
The collection of values actually selected depends on the presence or
+ absence of the name and property attributes. The
+ following combinations are allowed:
+
+
Only name is specified - The value of this attribute
+ is the name of a JSP bean in some scope that is the
+ collection.
+
Only property is specified - The value of this
+ attribute is the name of a property of the ActionForm bean associated
+ with our form, which will return the collection.
+
Both name and property are specified -
+ The value of the name attribute identifies a JSP bean
+ in some scope. The value of the property attribute is the
+ name of some property of that bean which will return the collection.
+
+
+
The collection of labels displayed to the user can be the same as the
+ option values themselves, or can be different, depending on the presence or
+ absence of the labelName and labelProperty
+ attributes. If this feature is used, the collection of labels must contain
+ the same number of elements as the corresponding collection of values.
+ The following combinations are allowed:
+
+
Neither labelName nor labelProperty is
+ specified - The labels will be the same as the option values
+ themselves.
+
Only labelName is specified - The value of this
+ attribute is the name of a JSP bean in some scope that is the
+ collection.
+
Only labelProperty is specified - The value of this
+ attribute is the name of a property of the ActionForm bean associated
+ with our form, which will return the collection.
+
Both labelName and labelProperty are
+ specified - The value of the labelName attribute
+ identifies a JSP bean in some scope. The value of the
+ labelProperty attribute is the name of some property of
+ that bean which will return the collection.
+
+
+
+
Note that this tag does not support a styleId
+ attribute, as it would have to apply the value to all the
+ option elements created by this element, which would
+ mean that more than one id element might have the same
+ value, which the HTML specification says is illegal.
Renders a set of HTML <option> elements,
+ representing possible choices for a <select>
+ element. This tag can be used multiple times within a single
+ <html:select> element, either in conjunction
+ with or instead of one or more <html:option>
+ or <html:options> elements.
+
+
This tag operates on a collection of beans, where each bean
+ has a label property and a value
+ property. The actual names of these properties can be configured
+ using the label and value attributes
+ of this tag.
+
+
This tag differs from the <html:options> tag
+ in that it makes more consistent use of the name and
+ property attributes, and allows the collection to be
+ more easily obtained from the enclosing form bean.
+
+
Note that this tag does not support a styleId
+ attribute, as it would have to apply the value to all the
+ option elements created by this element, which would
+ mean that more than one id element might have the same
+ value, which the HTML specification says is illegal.
+ ]]>
+
+
+ filter
+ false
+ true
+ boolean
+
+ false if you do NOT want the option labels
+ filtered for sensitive characters in HTML. By default, such
+ values are filtered.
+ ]]>
+
+
+
+ label
+ false
+ true
+
+
+
+
+
+ name
+ false
+ true
+
+
+
+
+
+ property
+ false
+ true
+
+
+
+
+
+ style
+ false
+ true
+
+
+
+
+
+ styleClass
+ false
+ true
+
+
+
+
+
+ value
+ false
+ true
+
+
+
+
+
+
+ password
+ org.apache.struts.taglib.html.PasswordTag
+
+
+ Render A Password Input Field
+
+
+ Renders an HTML <input> element of type password, populated
+ from the specified value or the specified property of the bean
+ associated with our current form. This tag is only valid when
+ nested inside a form tag body.
+ ]]>
+
+
+ accesskey
+ false
+ true
+
+
+
+
+
+ alt
+ false
+ true
+
+ The alternate text for this element.
+ ]]>
+
+
+
+ altKey
+ false
+ true
+
+ The message resources key of the alternate text for this
+ element.
+ ]]>
+
+
+
+ bundle
+ false
+ true
+
+
Since:
+
Struts 1.2.5
+ ]]>
+
+
+
+ dir
+ false
+ true
+
+ The direction for weak/neutral text for this element.
+
Since:
+
Struts 1.3.6
+ ]]>
+
+
+
+ disabled
+ false
+ true
+ boolean
+
+ true if this input field should be
+ disabled.
+ ]]>
+
+
+
+ errorKey
+ false
+ true
+
+ Name of the bean (in any scope) under which our error messages
+ have been stored. If not present, the name specified by the
+ Globals.ERROR_KEY constant string will be used.
+
+
N.B. This is used in conjunction with the
+ errorStyle, errorStyleClass and
+ errorStyleId attributes and should be set to
+ the same value as the name attribute on the
+ <html:errors/> tag.
+
+
Since:
+
Struts 1.2.5
+ ]]>
+
+
+
+ errorStyle
+ false
+ true
+
+ CSS styles to be applied to this HTML element if
+ an error exists for it.
+
+
N.B. If present, this overrides the
+ style attribute in the event of an error.
+
+
Since:
+
Struts 1.2.5
+ ]]>
+
+
+
+ errorStyleClass
+ false
+ true
+
+ CSS stylesheet class to be applied to this HTML element if
+ an error exists for it (renders a "class" attribute).
+
+
N.B. If present, this overrides the
+ styleClass attribute in the event of an error.
+
+
Since:
+
Struts 1.2.5
+ ]]>
+
+
+
+ errorStyleId
+ false
+ true
+
+ Identifier to be assigned to this HTML element if
+ an error exists for it (renders an "id" attribute).
+
+
N.B. If present, this overrides the
+ styleId attribute in the event of an error.
+
+
Since:
+
Struts 1.2.5
+ ]]>
+
+
+
+ indexed
+ false
+ true
+ boolean
+
+ true then name of the html tag will be rendered as
+ "id[34].propertyName". Number in brackets will be generated
+ for every iteration and taken from ancestor logic:iterate tag.
+ ]]>
+
+
+
+ lang
+ false
+ true
+
+ The language code for this element.
+
N.B. If present, the errorStyle
+ overrides this attribute in the event of an error for the element.
+ ]]>
+
+
+
+ styleClass
+ false
+ true
+
+ CSS stylesheet class to be applied to this HTML element
+ (renders a "class" attribute).
+
+
N.B. If present, the errorStyleClass
+ overrides this attribute in the event of an error for the element.
+ ]]>
+
+
+
+ styleId
+ false
+ true
+
+ Identifier to be assigned to this HTML element (renders
+ an "id" attribute).
+
+
N.B. If present, the errorStyleId
+ overrides this attribute in the event of an error for the element.
+ ]]>
+
+
+
+ size
+ false
+ true
+
+
+
+
+
+ tabindex
+ false
+ true
+
+
+
+
+
+ title
+ false
+ true
+
+ The advisory title for this element.
+ ]]>
+
+
+
+ titleKey
+ false
+ true
+
+ The message resources key for the advisory title
+ for this element.
+ ]]>
+
+
+
+ value
+ false
+ true
+
+
+
+
+
+
+ radio
+ org.apache.struts.taglib.html.RadioTag
+
+
+ Render A Radio Button Input Field
+
+
+
+ Renders an HTML <input> element of type radio, populated from
+ the specified property of the bean associated with our current form.
+ This tag is only valid when nested inside a form tag body.
+
+
+ If an iterator is used to render a series of radio tags, the
+ idName attribute may be used to specify the name of the bean
+ exposed by the iterator. In this case, the value attribute is
+ used as the name of a property on the idName bean that returns
+ the value of the radio tag in this iteration.
+
+ ]]>
+
+
+ accesskey
+ false
+ true
+
+
+
+
+
+ alt
+ false
+ true
+
+ The alternate text for this element.
+ ]]>
+
+
+
+ altKey
+ false
+ true
+
+ The message resources key of the alternate text for this
+ element.
+ ]]>
+
+
+
+ bundle
+ false
+ true
+
+
Since:
+
Struts 1.2.5
+ ]]>
+
+
+
+ dir
+ false
+ true
+
+ The direction for weak/neutral text for this element.
+
Since:
+
Struts 1.3.6
+ ]]>
+
+
+
+ disabled
+ false
+ true
+ boolean
+
+ true if this input field should be
+ disabled.
+ ]]>
+
+
+
+ errorKey
+ false
+ true
+
+ Name of the bean (in any scope) under which our error messages
+ have been stored. If not present, the name specified by the
+ Globals.ERROR_KEY constant string will be used.
+
+
N.B. This is used in conjunction with the
+ errorStyle, errorStyleClass and
+ errorStyleId attributes and should be set to
+ the same value as the name attribute on the
+ <html:errors/> tag.
+
+
Since:
+
Struts 1.2.5
+ ]]>
+
+
+
+ errorStyle
+ false
+ true
+
+ CSS styles to be applied to this HTML element if
+ an error exists for it.
+
+
N.B. If present, this overrides the
+ style attribute in the event of an error.
+
+
Since:
+
Struts 1.2.5
+ ]]>
+
+
+
+ errorStyleClass
+ false
+ true
+
+ CSS stylesheet class to be applied to this HTML element if
+ an error exists for it (renders a "class" attribute).
+
+
N.B. If present, this overrides the
+ styleClass attribute in the event of an error.
+
+
Since:
+
Struts 1.2.5
+ ]]>
+
+
+
+ errorStyleId
+ false
+ true
+
+ Identifier to be assigned to this HTML element if
+ an error exists for it (renders an "id" attribute).
+
+
N.B. If present, this overrides the
+ styleId attribute in the event of an error.
+
+
Since:
+
Struts 1.2.5
+ ]]>
+
+
+
+ indexed
+ false
+ true
+ boolean
+
+ true then name of the html tag will be rendered as
+ "id[34].propertyName". Number in brackets will be generated
+ for every iteration and taken from ancestor logic:iterate tag.
+ ]]>
+
+
+
+ lang
+ false
+ true
+
+ The language code for this element.
+
N.B. If present, the errorStyle
+ overrides this attribute in the event of an error for the element.
+ ]]>
+
+
+
+ styleClass
+ false
+ true
+
+ CSS stylesheet class to be applied to this HTML element
+ (renders a "class" attribute).
+
+
N.B. If present, the errorStyleClass
+ overrides this attribute in the event of an error for the element.
+ ]]>
+
+
+
+ styleId
+ false
+ true
+
+ Identifier to be assigned to this HTML element (renders
+ an "id" attribute).
+
+
N.B. If present, the errorStyleId
+ overrides this attribute in the event of an error for the element.
+ ]]>
+
+
+
+ tabindex
+ false
+ true
+
+
+
+
+
+ title
+ false
+ true
+
+ The advisory title for this element.
+ ]]>
+
+
+
+ titleKey
+ false
+ true
+
+ The message resources key for the advisory title
+ for this element.
+ ]]>
+
+
+
+ value
+ true
+ true
+
+
+
+
+
+ idName
+ false
+ true
+
+ Name of the bean (in some scope) that will return the
+ value of the radio tag. Usually exposed
+ by an iterator. When the idName attribute is
+ present, the value attribute is used as the name of the
+ property on the idName bean that will return the
+ value of the radio tag for this iteration.
+
+
Since:
+
Struts 1.1
+ ]]>
+
+
+
+
+ reset
+ org.apache.struts.taglib.html.ResetTag
+
+
+ Render A Reset Button Input Field
+
+
+ Renders an HTML <input> element of type reset.
+ ]]>
+
+
+ accesskey
+ false
+ true
+
+
+
+
+
+ alt
+ false
+ true
+
+ The alternate text for this element.
+ ]]>
+
+
+
+ altKey
+ false
+ true
+
+ The message resources key of the alternate text for this
+ element.
+ ]]>
+
+
+
+ bundle
+ false
+ true
+
+
Since:
+
Struts 1.2.5
+ ]]>
+
+
+
+ dir
+ false
+ true
+
+ The direction for weak/neutral text for this element.
+
Since:
+
Struts 1.3.6
+ ]]>
+
+
+
+ disabled
+ false
+ true
+ boolean
+
+ true if this input field should be
+ disabled.
+ ]]>
+
+
+
+ lang
+ false
+ true
+
+ The language code for this element.
+
Renders a request URI based on exactly the same rules
+ as the link tag does,
+ but without creating
+ the <a> hyperlink. This value is useful
+ when you want to generate a string constant for use by
+ a JavaScript procedure.
+ ]]>
+
+
+ action
+ false
+ true
+
+ Logical name of a Action that
+ contains the actual content-relative URI of the destination
+ of this transfer. This hyperlink may be dynamically
+ modified by the inclusion of query parameters, as described
+ in the tag description. You must specify
+ exactly one of the action attribute, the
+ forward attribute, the
+ href attribute, or the page
+ attribute.
+
+
Additionally, you can specify a module prefix
+ for linking to other modules.
+
+
+
Since:
+
Struts 1.2.0
+ ]]>
+
+
+
+ module
+ false
+ true
+
+ Prefix name of a Module that
+ contains the action mapping for the Action
+ that is specified by the action attribute.
+ You must specify an action
+ attribute for this to have an effect.
+
+
Note: Use "" to map to the default module.
+ ]]>
+
+
+
+ anchor
+ false
+ true
+
+ Optional anchor tag ("#xxx") to be added to the generated
+ hyperlink. Specify this value without any
+ "#" character.
+ ]]>
+
+
+
+ forward
+ false
+ true
+
+ Logical name of a global ActionForward that
+ contains the actual content-relative URI of the destination
+ of this transfer. This hyperlink may be dynamically
+ modified by the inclusion of query parameters, as described
+ in the tag description. You must specify
+ exactly one of the action attribute, the
+ forward attribute, the
+ href attribute, or the page
+ attribute.
+ ]]>
+
+
+
+ href
+ false
+ true
+
+ The URL to which this hyperlink will transfer control
+ if activated. This hyperlink may be dynamically modified
+ by the inclusion of query parameters, as described in the
+ tag description. You must specify
+ exactly one of the action attribute, the
+ forward attribute, the
+ href attribute, or the page
+ attribute.
+ ]]>
+
+
+
+ name
+ false
+ true
+
+ The name of a JSP bean that contains a Map
+ representing the query parameters (if property
+ is not specified), or a JSP bean whose property getter is
+ called to return a Map (if property
+ is specified).
+ ]]>
+
+
+
+ page
+ false
+ true
+
+ The module-relative path (beginning with a "/"
+ character) to which this hyperlink will transfer control
+ if activated. This hyperlink may be dynamically modified
+ by the inclusion of query parameters, as described in the
+ tag description. You must specify exactly
+ one of the action attribute, the
+ forward attribute, the
+ href attribute, or the page
+ attribute.
+ ]]>
+
+
+
+ paramId
+ false
+ true
+
+ The name of the request parameter that will be dynamically
+ added to the generated hyperlink. The corresponding value is
+ defined by the paramName and (optional)
+ paramProperty attributes, optionally scoped by
+ the paramScope attribute
+ ]]>
+
+
+
+ paramName
+ false
+ true
+
+ The name of a JSP bean that is a String containing the
+ value for the request parameter named by paramId
+ (if paramProperty is not specified), or a JSP
+ bean whose property getter is called to return a String
+ (if paramProperty is specified). The JSP bean
+ is constrained to the bean scope specified by the
+ paramScope property, if it is specified.
+ ]]>
+
+
+
+ paramProperty
+ false
+ true
+
+ The name of a property of the bean specified by the
+ paramName attribute, whose return value must
+ be a String containing the value of the request parameter
+ (named by the paramId attribute) that will be
+ dynamically added to this hyperlink.
+ ]]>
+
+
+
+ paramScope
+ false
+ true
+
+ The scope within which to search for the bean specified
+ by the paramName attribute. If not specified,
+ all scopes are searched.
+ ]]>
+
+
+
+ property
+ false
+ true
+
+ The name of a property of the bean specified by the
+ name attribute, whose return value must be
+ a java.util.Map containing the query parameters
+ to be added to the hyperlink. You must
+ specify the name attribute if you specify
+ this attribute.
+ ]]>
+
+
+
+ scope
+ false
+ true
+
+ The scope within which to search for the bean specified
+ by the name attribute. If not specified, all
+ scopes are searched.
+ ]]>
+
+
+
+ transaction
+ false
+ true
+ boolean
+
+ If set to true, any current transaction
+ control token will be included in the generated hyperlink,
+ so that it will pass an isTokenValid() test
+ in the receiving Action.
+ ]]>
+
+
+
+ useLocalEncoding
+ false
+ true
+ boolean
+
+ If set to true, LocalCharacterEncoding will be
+ used, that is, the characterEncoding set to the HttpServletResponse,
+ as prefered character encoding rather than UTF-8, when
+ URLEncoding is done on parameters of the URL.
+ ]]>
+
+
+
+
+ select
+ org.apache.struts.taglib.html.SelectTag
+ JSP
+
+
+ Render A Select Element
+
+
+
Renders an HTML <select> element, associated
+ with a bean property specified by our attributes. This
+ tag is only valid when nested inside a form tag body.
+
+
+
This tag operates in two modes, depending upon the
+ state of the multiple attribute, which
+ affects the data type of the associated property you
+ should use:
+
+
multiple="true" IS NOT selected -
+ The corresponding property should be a scalar
+ value of any supported data type.
+
multiple="true" IS selected -
+ The corresponding property should be an array
+ of any supported data type.
+
+
+
WARNING: In order to correctly
+ recognize cases where no selection at all is made, the
+ ActionForm bean associated with this form
+ must include a statement resetting the scalar property
+ to a default value (if multiple is not
+ set), or the array property to zero length (if
+ multiple is set) in the
+ reset() method.
+ ]]>
+
+
+ alt
+ false
+ true
+
+ The alternate text for this element.
+ ]]>
+
+
+
+ altKey
+ false
+ true
+
+ The message resources key of the alternate text for this
+ element.
+ ]]>
+
+
+
+ bundle
+ false
+ true
+
+
Since:
+
Struts 1.2.5
+ ]]>
+
+
+
+ dir
+ false
+ true
+
+ The direction for weak/neutral text for this element.
+
Since:
+
Struts 1.3.6
+ ]]>
+
+
+
+ disabled
+ false
+ true
+ boolean
+
+ true if this input field should be
+ disabled.
+ ]]>
+
+
+
+ errorKey
+ false
+ true
+
+ Name of the bean (in any scope) under which our error messages
+ have been stored. If not present, the name specified by the
+ Globals.ERROR_KEY constant string will be used.
+
+
N.B. This is used in conjunction with the
+ errorStyle, errorStyleClass and
+ errorStyleId attributes and should be set to
+ the same value as the name attribute on the
+ <html:errors/> tag.
+
+
Since:
+
Struts 1.2.5
+ ]]>
+
+
+
+ errorStyle
+ false
+ true
+
+ CSS styles to be applied to this HTML element if
+ an error exists for it.
+
+
N.B. If present, this overrides the
+ style attribute in the event of an error.
+
+
Since:
+
Struts 1.2.5
+ ]]>
+
+
+
+ errorStyleClass
+ false
+ true
+
+ CSS stylesheet class to be applied to this HTML element if
+ an error exists for it (renders a "class" attribute).
+
+
N.B. If present, this overrides the
+ styleClass attribute in the event of an error.
+
+
Since:
+
Struts 1.2.5
+ ]]>
+
+
+
+ errorStyleId
+ false
+ true
+
+ Identifier to be assigned to this HTML element if
+ an error exists for it (renders an "id" attribute).
+
+
N.B. If present, this overrides the
+ styleId attribute in the event of an error.
+
+
Since:
+
Struts 1.2.5
+ ]]>
+
+
+
+ indexed
+ false
+ true
+ boolean
+
+ true then name of the html tag will be rendered as
+ "id[34].propertyName". Number in brackets will be generated
+ for every iteration and taken from ancestor logic:iterate tag.
+ ]]>
+
+
+
+ lang
+ false
+ true
+
+ The language code for this element.
+
N.B. If present, the errorStyle
+ overrides this attribute in the event of an error for the element.
+ ]]>
+
+
+
+ styleClass
+ false
+ true
+
+ CSS stylesheet class to be applied to this HTML element
+ (renders a "class" attribute).
+
+
N.B. If present, the errorStyleClass
+ overrides this attribute in the event of an error for the element.
+ ]]>
+
+
+
+ styleId
+ false
+ true
+
+ Identifier to be assigned to this HTML element (renders
+ an "id" attribute).
+
+
N.B. If present, the errorStyleId
+ overrides this attribute in the event of an error for the element.
+ ]]>
+
+
+
+ tabindex
+ false
+ true
+
+
+
+
+
+ size
+ false
+ true
+
+
+
+
+
+ title
+ false
+ true
+
+ The advisory title for this element.
+ ]]>
+
+
+
+ titleKey
+ false
+ true
+
+ The message resources key for the advisory title
+ for this element.
+ ]]>
+
+
+
+ value
+ false
+ true
+
+
+
+
+
+
+ submit
+ org.apache.struts.taglib.html.SubmitTag
+
+
+ Render A Submit Button
+
+
+ Renders an HTML <input> element of type submit.
+
+ If a graphical button is needed (a button with an image), then the
+ image tag is more appropriate.
+
+ ]]>
+
+
+ accesskey
+ false
+ true
+
+
+
+
+
+ alt
+ false
+ true
+
+ The alternate text for this element.
+ ]]>
+
+
+
+ altKey
+ false
+ true
+
+ The message resources key of the alternate text for this
+ element.
+ ]]>
+
+
+
+ bundle
+ false
+ true
+
+
Since:
+
Struts 1.2.5
+ ]]>
+
+
+
+ dir
+ false
+ true
+
+ The direction for weak/neutral text for this element.
+
Since:
+
Struts 1.3.6
+ ]]>
+
+
+
+ disabled
+ false
+ true
+ boolean
+
+ true if this input field should be
+ disabled.
+ ]]>
+
+
+
+ indexed
+ false
+ true
+ boolean
+
+ true
+ then name of the html tag will be rendered as
+ "propertyName[34]". Number in brackets will be generated for
+ every iteration and taken from ancestor logic:iterate tag.
+ ]]>
+
+
+
+ onblur
+ false
+ true
+
+
+
+
+
+ onchange
+ false
+ true
+
+
+
+
+
+ onclick
+ false
+ true
+
+
+
+
+
+ ondblclick
+ false
+ true
+
+
+
+
+
+ onfocus
+ false
+ true
+
+
+
+
+
+ onkeydown
+ false
+ true
+
+
+
+
+
+ onkeypress
+ false
+ true
+
+
+
+
+
+ onkeyup
+ false
+ true
+
+
+
+
+
+ onmousedown
+ false
+ true
+
+
+
+
+
+ onmousemove
+ false
+ true
+
+
+
+
+
+ onmouseout
+ false
+ true
+
+
+
+
+
+ onmouseover
+ false
+ true
+
+
+
+
+
+ onmouseup
+ false
+ true
+
+
+
+
+
+ property
+ false
+ true
+
+
+
+
+
+ style
+ false
+ true
+
+
+
+
+
+ styleClass
+ false
+ true
+
+
+
+
+
+ styleId
+ false
+ true
+
+
+
+
+
+ tabindex
+ false
+ true
+
+
+
+
+
+ title
+ false
+ true
+
+ The advisory title for this element.
+ ]]>
+
+
+
+ titleKey
+ false
+ true
+
+ The message resources key for the advisory title
+ for this element.
+ ]]>
+
+
+
+ value
+ false
+ true
+
+
+
+
+
+
+ text
+ org.apache.struts.taglib.html.TextTag
+
+ Render An Input Field of Type text
+
+
Render an input field of type text. This tag is only valid when
+ nested inside a form tag body.
+ ]]>
+
+
+ accesskey
+ false
+ true
+
+ The keyboard character used to move focus immediately to this
+ element.
+ ]]>
+
+
+
+ alt
+ false
+ true
+
+ The alternate text for this element.
+ ]]>
+
+
+
+ altKey
+ false
+ true
+
+ The message resources key of the alternate text for this
+ element.
+ ]]>
+
+
+
+ bundle
+ false
+ true
+
+
Since:
+
Struts 1.2.5
+ ]]>
+
+
+
+ dir
+ false
+ true
+
+ The direction for weak/neutral text for this element.
+
Since:
+
Struts 1.3.6
+ ]]>
+
+
+
+ disabled
+ false
+ true
+ boolean
+
+ true if this input field should be
+ disabled.
+ ]]>
+
+
+
+ errorKey
+ false
+ true
+
+ Name of the bean (in any scope) under which our error messages
+ have been stored. If not present, the name specified by the
+ Globals.ERROR_KEY constant string will be used.
+
+
N.B. This is used in conjunction with the
+ errorStyle, errorStyleClass and
+ errorStyleId attributes and should be set to
+ the same value as the name attribute on the
+ <html:errors/> tag.
+
+
Since:
+
Struts 1.2.5
+ ]]>
+
+
+
+ errorStyle
+ false
+ true
+
+ CSS styles to be applied to this HTML element if
+ an error exists for it.
+
+
N.B. If present, this overrides the
+ style attribute in the event of an error.
+
+
Since:
+
Struts 1.2.5
+ ]]>
+
+
+
+ errorStyleClass
+ false
+ true
+
+ CSS stylesheet class to be applied to this HTML element if
+ an error exists for it (renders a "class" attribute).
+
+
N.B. If present, this overrides the
+ styleClass attribute in the event of an error.
+
+
Since:
+
Struts 1.2.5
+ ]]>
+
+
+
+ errorStyleId
+ false
+ true
+
+ Identifier to be assigned to this HTML element if
+ an error exists for it (renders an "id" attribute).
+
+
N.B. If present, this overrides the
+ styleId attribute in the event of an error.
+
+
Since:
+
Struts 1.2.5
+ ]]>
+
+
+
+ indexed
+ false
+ true
+ boolean
+
+ true then name of the html tag will be rendered as
+ "id[34].propertyName". Number in brackets will be generated
+ for every iteration and taken from ancestor logic:iterate tag.
+ ]]>
+
+
+
+ maxlength
+ false
+ true
+
+
+
+
+
+ lang
+ false
+ true
+
+ The language code for this element.
+
N.B. If present, the errorStyle
+ overrides this attribute in the event of an error for the element.
+ ]]>
+
+
+
+ styleClass
+ false
+ true
+
+ CSS stylesheet class to be applied to this HTML element
+ (renders a "class" attribute).
+
+
N.B. If present, the errorStyleClass
+ overrides this attribute in the event of an error for the element.
+ ]]>
+
+
+
+ styleId
+ false
+ true
+
+ Identifier to be assigned to this HTML element (renders
+ an "id" attribute).
+
+
N.B. If present, the errorStyleId
+ overrides this attribute in the event of an error for the element.
+ ]]>
+
+
+
+ tabindex
+ false
+ true
+
+
+
+
+
+ title
+ false
+ true
+
+ The advisory title for this element.
+ ]]>
+
+
+
+ titleKey
+ false
+ true
+
+ The message resources key for the advisory title
+ for this element.
+ ]]>
+
+
+
+ value
+ false
+ true
+
+
+
+
+
+
+ textarea
+ org.apache.struts.taglib.html.TextareaTag
+
+
+ Render A Textarea
+
+
+ Render a textarea element. This tag is only valid when nested
+ inside a form tag body.
+ ]]>
+
+
+ accesskey
+ false
+ true
+
+
+
+
+
+ alt
+ false
+ true
+
+ The alternate text for this element.
+ ]]>
+
+
+
+ altKey
+ false
+ true
+
+ The message resources key of the alternate text for this
+ element.
+ ]]>
+
+
+
+ bundle
+ false
+ true
+
+
Since:
+
Struts 1.2.5
+ ]]>
+
+
+
+ cols
+ false
+ true
+
+
+
+
+
+ dir
+ false
+ true
+
+ The direction for weak/neutral text for this element.
+
Since:
+
Struts 1.3.6
+ ]]>
+
+
+
+ disabled
+ false
+ true
+ boolean
+
+ true if this input field should be
+ disabled.
+ ]]>
+
+
+
+ errorKey
+ false
+ true
+
+ Name of the bean (in any scope) under which our error messages
+ have been stored. If not present, the name specified by the
+ Globals.ERROR_KEY constant string will be used.
+
+
N.B. This is used in conjunction with the
+ errorStyle, errorStyleClass and
+ errorStyleId attributes and should be set to
+ the same value as the name attribute on the
+ <html:errors/> tag.
+
+
Since:
+
Struts 1.2.5
+ ]]>
+
+
+
+ errorStyle
+ false
+ true
+
+ CSS styles to be applied to this HTML element if
+ an error exists for it.
+
+
N.B. If present, this overrides the
+ style attribute in the event of an error.
+
+
Since:
+
Struts 1.2.5
+ ]]>
+
+
+
+ errorStyleClass
+ false
+ true
+
+ CSS stylesheet class to be applied to this HTML element if
+ an error exists for it (renders a "class" attribute).
+
+
N.B. If present, this overrides the
+ styleClass attribute in the event of an error.
+
+
Since:
+
Struts 1.2.5
+ ]]>
+
+
+
+ errorStyleId
+ false
+ true
+
+ Identifier to be assigned to this HTML element if
+ an error exists for it (renders an "id" attribute).
+
+
N.B. If present, this overrides the
+ styleId attribute in the event of an error.
+
+
Since:
+
Struts 1.2.5
+ ]]>
+
+
+
+ indexed
+ false
+ true
+ boolean
+
+ true then name of the html tag will be rendered as
+ "id[34].propertyName". Number in brackets will be generated
+ for every iteration and taken from ancestor logic:iterate tag.
+ ]]>
+
+
+
+ lang
+ false
+ true
+
+ The language code for this element.
+
N.B. If present, the errorStyle
+ overrides this attribute in the event of an error for the element.
+ ]]>
+
+
+
+ styleClass
+ false
+ true
+
+ CSS stylesheet class to be applied to this HTML element
+ (renders a "class" attribute).
+
+
N.B. If present, the errorStyleClass
+ overrides this attribute in the event of an error for the element.
+ ]]>
+
+
+
+ styleId
+ false
+ true
+
+ Identifier to be assigned to this HTML element (renders
+ an "id" attribute).
+
+
N.B. If present, the errorStyleId
+ overrides this attribute in the event of an error for the element.
+ ]]>
+
+
+
+ tabindex
+ false
+ true
+
+
+
+
+
+ title
+ false
+ true
+
+ The advisory title for this element.
+ ]]>
+
+
+
+ titleKey
+ false
+ true
+
+ The message resources key for the advisory title
+ for this element.
+ ]]>
+
+
+
+ value
+ false
+ true
+
+
+
+
+
+
+ xhtml
+ org.apache.struts.taglib.html.XhtmlTag
+ empty
+
+ Render HTML tags as XHTML
+
+
+ Using this tag in a page tells all other html taglib tags
+ to render themselves as XHTML 1.0. This is useful
+ when composing pages with JSP includes or Tiles.
+ <html:html xhtml="true"> has a similar effect. This
+ tag has no attributes; you use it like this: <html:xhtml/>.
+
+
+ Note: Included pages do not inherit the rendering
+ style of the including page. Each JSP fragment or Tile must use this
+ tag to render as XHTML.
+
+ ]]>
+
+
+
+
diff --git a/build/web/WEB-INF/struts-logic.tld b/build/web/WEB-INF/struts-logic.tld
new file mode 100644
index 0000000..9337bb5
--- /dev/null
+++ b/build/web/WEB-INF/struts-logic.tld
@@ -0,0 +1,1893 @@
+
+
+
+
+ 1.3
+ 1.2
+ logic
+ http://struts.apache.org/tags-logic
+
+ Note: Some of the features in this taglib are also
+ available in the JavaServer Pages Standard Tag Library (JSTL).
+ The Struts team encourages the use of the standard tags over the Struts
+ specific tags when possible.
+
+
This tag library contains tags that are useful in managing conditional
+ generation of output text, looping over object collections for
+ repetitive generation of output text, and application flow management.
+
+
For tags that do value comparisons (equal,
+ greaterEqual, greaterThan, lessEqual,
+ lessThan, notEqual), the following rules apply:
+
+
The specified value is examined. If it can be converted successfully
+ to a double or a long, it is assumed that the
+ ultimate comparison will be numeric (either floating point or integer).
+ Otherwise, a String comparison will be performed.
+
The variable to be compared to is retrieved, based on the selector
+ attribute(s) (cookie, header,
+ name, parameter, property)
+ present on this tag. It will be converted to the appropriate type
+ for the comparison, as determined above.
+
If the specified variable or property returns null, it will be
+ coerced to a zero-length string before the comparison occurs.
+
The specific comparison for this tag will be performed, and the nested
+ body content of this tag will be evaluated if the comparison returns
+ a true result.
+
+
+
For tags that do substring matching (match,
+ notMatch), the following rules apply:
+
+
The specified variable is retrieved, based on the selector attribute(s)
+ (cookie, header, name,
+ parameter, property) present on this tag.
+ The variable is converted to a String, if necessary.
+
A request time exception will be thrown if the specified variable
+ cannot be retrieved, or has a null value.
+
The specified value is checked for existence as a substring of the
+ variable, in the position specified by the location
+ attribute, as follows: at the beginning (if location is set to
+ start), at the end (if location is set to
+ end), or anywhere (if location is not specified).
+
+
+
Many of the tags in this tag library will throw a
+ JspException at runtime when they are utilized incorrectly
+ (such as when you specify an invalid combination of tag attributes). JSP
+ allows you to declare an "error page" in the <%@ page %>
+ directive. If you wish to process the actual exception that caused the
+ problem, it is passed to the error page as a request attribute under key
+ org.apache.struts.action.EXCEPTION.
+
+ ]]>
+
+
+ empty
+ org.apache.struts.taglib.logic.EmptyTag
+ JSP
+
+
+ Evaluate the nested body content of this tag if the requested variable is
+ either null or an empty string.
+
+
+
This tag evaluates its nested body content only if the specified value
+ is either absent (i.e. null), an empty string (i.e. a
+ java.lang.String with a length of zero), or an empty
+ java.util.Collection or java.util.Map (tested by
+ the .isEmpty() method on the respective interface).
+
+
+ JSTL: The equivalent JSTL tag is <c:if> using the
+ empty operator. For example,
+
+
+ <c:if test="${empty sessionScope.myBean.myProperty}">
+ do something
+ </c:if>
+
+
+
+
Since:
+
Struts 1.1
+ ]]>
+
+
+ name
+ false
+ true
+
+ The variable to be compared is the JSP bean specified by this
+ attribute, if property is not specified, or the value
+ of the specified property of this bean, if property
+ is specified.
+ ]]>
+
+
+
+ property
+ false
+ true
+
+ The variable to be compared is the property (of the bean specified
+ by the name attribute) specified by this attribute.
+ The property reference can be simple, nested, and/or indexed.
+ ]]>
+
+
+
+ scope
+ false
+ true
+
+ The bean scope within which to search for the bean named by the
+ name property, or "any scope" if not specified.
+ ]]>
+
+
+
+
+ equal
+ org.apache.struts.taglib.logic.EqualTag
+ JSP
+
+
+ Evaluate the nested body content of this tag if the requested
+ variable is equal to the specified value.
+
+
+
Compares the variable specified by one of the selector attributes
+ against the specified constant value. The nested body content of this
+ tag is evaluated if the variable and value are equal.
+
+ ]]>
+
+
+ cookie
+ false
+ true
+
+ The variable to be compared is the value of the cookie whose
+ name is specified by this attribute.
+ ]]>
+
+
+
+ header
+ false
+ true
+
+ The variable to be compared is the value of the header whose
+ name is specified by this attribute. The name match is performed
+ in a case insensitive manner.
+ ]]>
+
+
+
+ name
+ false
+ true
+
+ The variable to be compared is the JSP bean specified by this
+ attribute, if property is not specified, or the value
+ of the specified property of this bean, if property
+ is specified.
+ ]]>
+
+
+
+ parameter
+ false
+ true
+
+ The variable to be compared is the first, or only, value of the
+ request parameter specified by this attribute.
+ ]]>
+
+
+
+ property
+ false
+ true
+
+ The variable to be compared is the property (of the bean specified
+ by the name attribute) specified by this attribute.
+ The property reference can be simple, nested, and/or indexed.
+ ]]>
+
+
+
+ scope
+ false
+ true
+
+ The bean scope within which to search for the bean named by the
+ name property, or "any scope" if not specified.
+ ]]>
+
+
+
+ value
+ true
+ true
+
+ The constant value to which the variable, specified by other
+ attribute(s) of this tag, will be compared.
+ ]]>
+
+
+
+
+ forward
+ org.apache.struts.taglib.logic.ForwardTag
+ empty
+
+
+ Forward control to the page specified by the specified ActionForward
+ entry.
+
+
+
Performs a PageContext.forward() or
+ HttpServletResponse.sendRedirect() call for the global
+ ActionForward entry for the specified name. URL
+ rewriting will occur automatically if a redirect is performed.
+ ]]>
+
+
+ name
+ true
+ true
+
+
+ The logical name of the global ActionForward entry
+ that identifies the destination, and forwarding approach, to be used.
+ Note: forwarding to Tiles definitions is not supported
+ from this tag. You should forward to them from an Action subclass.
+
+ ]]>
+
+
+
+
+ greaterEqual
+ org.apache.struts.taglib.logic.GreaterEqualTag
+ JSP
+
+
+ Evaluate the nested body content of this tag if the requested
+ variable is greater than or equal to the specified value.
+
+
+
Compares the variable specified by one of the selector attributes
+ against the specified constant value. The nested body content of this
+ tag is evaluated if the variable is greater than or equal
+ to the value.
+ ]]>
+
+
+ cookie
+ false
+ true
+
+ The variable to be compared is the value of the cookie whose
+ name is specified by this attribute.
+ ]]>
+
+
+
+ header
+ false
+ true
+
+ The variable to be compared is the value of the header whose
+ name is specified by this attribute. The name match is performed
+ in a case insensitive manner.
+ ]]>
+
+
+
+ name
+ false
+ true
+
+ The variable to be compared is the JSP bean specified by this
+ attribute, if property is not specified, or the value
+ of the specified property of this bean, if property
+ is specified.
+ ]]>
+
+
+
+ parameter
+ false
+ true
+
+ The variable to be compared is the first, or only, value of the
+ request parameter specified by this attribute.
+ ]]>
+
+
+
+ property
+ false
+ true
+
+ The variable to be compared is the property (of the bean specified
+ by the name attribute) specified by this attribute.
+ The property reference can be simple, nested, and/or indexed.
+ ]]>
+
+
+
+ scope
+ false
+ true
+
+ The bean scope within which to search for the bean named by the
+ name property, or "any scope" if not specified.
+ ]]>
+
+
+
+ value
+ true
+ true
+
+ The constant value to which the variable, specified by other
+ attribute(s) of this tag, will be compared.
+ ]]>
+
+
+
+
+ greaterThan
+ org.apache.struts.taglib.logic.GreaterThanTag
+ JSP
+
+
+ Evaluate the nested body content of this tag if the requested
+ variable is greater than the specified value.
+
+
+
Compares the variable specified by one of the selector attributes
+ against the specified constant value. The nested body content of this
+ tag is evaluated if the variable is greater than
+ the value.
+ ]]>
+
+
+ cookie
+ false
+ true
+
+ The variable to be compared is the value of the cookie whose
+ name is specified by this attribute.
+ ]]>
+
+
+
+ header
+ false
+ true
+
+ The variable to be compared is the value of the header whose
+ name is specified by this attribute. The name match is performed
+ in a case insensitive manner.
+ ]]>
+
+
+
+ name
+ false
+ true
+
+ The variable to be compared is the JSP bean specified by this
+ attribute, if property is not specified, or the value
+ of the specified property of this bean, if property
+ is specified.
+ ]]>
+
+
+
+ parameter
+ false
+ true
+
+ The variable to be compared is the first, or only, value of the
+ request parameter specified by this attribute.
+ ]]>
+
+
+
+ property
+ false
+ true
+
+ The variable to be compared is the property (of the bean specified
+ by the name attribute) specified by this attribute.
+ The property reference can be simple, nested, or indexed.
+ ]]>
+
+
+
+ scope
+ false
+ true
+
+ The bean scope within which to search for the bean named by the
+ name property, or "any scope" if not specified.
+ ]]>
+
+
+
+ value
+ true
+ true
+
+ The constant value to which the variable, specified by other
+ attribute(s) of this tag, will be compared.
+ ]]>
+
+
+
+
+ iterate
+ org.apache.struts.taglib.logic.IterateTag
+ org.apache.struts.taglib.logic.IterateTei
+ JSP
+
+
+ Repeat the nested body content of this tag over a specified collection.
+
+
+
Repeats the nested body content of this tag once for every element
+ of the specified collection, which must be an Iterator,
+ a Collection, a Map (whose values are to be
+ iterated over), or an array. The collection to be iterated over must be
+ specified in one of the following ways:
+
+
As a runtime expression specified as the value of the
+ collection attribute.
+
As a JSP bean specified by the name attribute.
+
As the property, specified by the property, of the
+ JSP bean specified by the name attribute.
+
+
+
The collection to be iterated over MUST conform to one of the following
+ requirements in order for iteration to be successful:
+
+
An array of Java objects or primitives.
+
+
An implementation of java.util.Collection, including
+ ArrayList and Vector.
+
An implementation of java.util.Enumeration.
+
An implementation of java.util.Iterator.
+
An implementation of java.util.Map, including
+ HashMap, Hashtable, and
+ TreeMap. NOTE - See below for
+ additional information about accessing Maps.
+
+
+
Normally, each object exposed by the iterate tag is an element
+ of the underlying collection you are iterating over. However, if you
+ iterate over a Map, the exposed object is of type
+ Map.Entry that has two properties:
+
+
key - The key under which this item is stored in the
+ underlying Map.
+
value - The value that corresponds to this key.
+
+
+
So, if you wish to iterate over the values of a Hashtable, you would
+ implement code like the following:
+
+ <logic:iterate id="element" name="myhashtable">
+ Next element is <bean:write name="element" property="value"/>
+ </logic:iterate>
+
+
+
If the collection you are iterating over can contain null
+ values, the loop will still be performed but no page scope attribute
+ (named by the id attribute) will be created for that loop
+ iteration. You can use the <logic:present> and
+ <logic:notPresent> tags to test for this case.
+
+ ]]>
+
+
+ collection
+ false
+ true
+ java.lang.Object
+
+ A runtime expression that evaluates to a collection (conforming to
+ the requirements listed above) to be iterated over.
+ ]]>
+
+
+
+ id
+ true
+ false
+
+ The name of a page scope JSP bean that will contain the current
+ element of the collection on each iteration, if it is not
+ null.
+ ]]>
+
+
+
+ indexId
+ false
+ false
+
+ The name of a page scope JSP bean that will contain the current
+ index of the collection on each iteration.
+ ]]>
+
+
+
+ length
+ false
+ true
+
+ The maximum number of entries (from the underlying collection) to be
+ iterated through on this page. This can be either an integer that
+ directly expresses the desired value, or the name of a JSP bean (in
+ any scope) of type java.lang.Integer that defines the
+ desired value. If not present, there will be no limit on the number
+ of iterations performed.
+ ]]>
+
+
+
+ name
+ false
+ true
+
+ The name of the JSP bean containing the collection to be iterated
+ (if property is not specified), or the JSP bean whose
+ property getter returns the collection to be iterated (if
+ property is specified).
+ ]]>
+
+
+
+ offset
+ false
+ true
+
+ The zero-relative index of the starting point at which entries from
+ the underlying collection will be iterated through. This can be either
+ an integer that directly expresses the desired value, or the name of a
+ JSP bean (in any scope) of type java.lang.Integer that
+ defines the desired value. If not present, zero is assumed (meaning
+ that the collection will be iterated from the beginning.
+ ]]>
+
+
+
+ property
+ false
+ true
+
+ Name of the property, of the JSP bean specified by name,
+ whose getter returns the collection to be iterated.
+ ]]>
+
+
+
+ scope
+ false
+ true
+
+ The bean scope within which to search for the bean named by the
+ name property, or "any scope" if not specified.
+ ]]>
+
+
+
+ type
+ false
+ true
+
+ Fully qualified Java class name of the element to be exposed through
+ the JSP bean named from the id attribute. If not present,
+ no type conversions will be performed. NOTE: The actual elements of
+ the collection must be assignment-compatible with this class, or a
+ request time ClassCastException will occur.
+ ]]>
+
+
+
+
+ lessEqual
+ org.apache.struts.taglib.logic.LessEqualTag
+ JSP
+
+
+ Evaluate the nested body content of this tag if the requested
+ variable is less than or equal to the specified value.
+
+
+
Compares the variable specified by one of the selector attributes
+ against the specified constant value. The nested body content of this
+ tag is evaluated if the variable is less than or equal
+ to the value.
+ ]]>
+
+
+ cookie
+ false
+ true
+
+ The variable to be compared is the value of the cookie whose
+ name is specified by this attribute.
+ ]]>
+
+
+
+ header
+ false
+ true
+
+ The variable to be compared is the value of the header whose
+ name is specified by this attribute. The name match is performed
+ in a case insensitive manner.
+ ]]>
+
+
+
+ name
+ false
+ true
+
+ The variable to be compared is the JSP bean specified by this
+ attribute, if property is not specified, or the value
+ of the specified property of this bean, if property
+ is specified.
+ ]]>
+
+
+
+ parameter
+ false
+ true
+
+ The variable to be compared is the first, or only, value of the
+ request parameter specified by this attribute.
+ ]]>
+
+
+
+ property
+ false
+ true
+
+ The variable to be compared is the property (of the bean specified
+ by the name attribute) specified by this attribute.
+ The property reference can be simple, nested, or indexed.
+ ]]>
+
+
+
+ scope
+ false
+ true
+
+ The bean scope within which to search for the bean named by the
+ name property, or "any scope" if not specified.
+ ]]>
+
+
+
+ value
+ true
+ true
+
+ The constant value to which the variable, specified by other
+ attribute(s) of this tag, will be compared.
+ ]]>
+
+
+
+
+ lessThan
+ org.apache.struts.taglib.logic.LessThanTag
+ JSP
+
+
+ Evaluate the nested body content of this tag if the requested
+ variable is less than the specified value.
+
+
+
Compares the variable specified by one of the selector attributes
+ against the specified constant value. The nested body content of this
+ tag is evaluated if the variable is less than
+ the value.
+ ]]>
+
+
+ cookie
+ false
+ true
+
+ The variable to be compared is the value of the cookie whose
+ name is specified by this attribute.
+ ]]>
+
+
+
+ header
+ false
+ true
+
+ The variable to be compared is the value of the header whose
+ name is specified by this attribute. The name match is performed
+ in a case insensitive manner.
+ ]]>
+
+
+
+ name
+ false
+ true
+
+ The variable to be compared is the JSP bean specified by this
+ attribute, if property is not specified, or the value
+ of the specified property of this bean, if property
+ is specified.
+ ]]>
+
+
+
+ parameter
+ false
+ true
+
+ The variable to be compared is the first, or only, value of the
+ request parameter specified by this attribute.
+ ]]>
+
+
+
+ property
+ false
+ true
+
+ The variable to be compared is the property (of the bean specified
+ by the name attribute) specified by this attribute.
+ The property reference can be simple, nested, and/or indexed.
+ ]]>
+
+
+
+ scope
+ false
+ true
+
+ The bean scope within which to search for the bean named by the
+ name property, or "any scope" if not specified.
+ ]]>
+
+
+
+ value
+ true
+ true
+
+ The constant value to which the variable, specified by other
+ attribute(s) of this tag, will be compared.
+ ]]>
+
+
+
+
+ match
+ org.apache.struts.taglib.logic.MatchTag
+ JSP
+
+
+ Evaluate the nested body content of this tag if the specified value
+ is an appropriate substring of the requested variable.
+
+
+
Matches the variable specified by one of the selector attributes
+ (as a String) against the specified constant value. If the value is
+ a substring (appropriately limited by the location
+ attribute), the nested body content of this tag is evaluated.
+ ]]>
+
+
+ cookie
+ false
+ true
+
+ The variable to be matched is the value of the cookie whose
+ name is specified by this attribute.
+ ]]>
+
+
+
+ header
+ false
+ true
+
+ The variable to be matched is the value of the header whose
+ name is specified by this attribute. The name match is performed
+ in a case insensitive manner.
+ ]]>
+
+
+
+ location
+ false
+ true
+
+ If not specified, a match between the variable and the value may
+ occur at any position within the variable string. If specified, the
+ match must occur at the specified location (either start
+ or end) of the variable string.
+ ]]>
+
+
+
+ name
+ false
+ true
+
+ The variable to be matched is the JSP bean specified by this
+ attribute, if property is not specified, or the value
+ of the specified property of this bean, if property
+ is specified.
+ ]]>
+
+
+
+ parameter
+ false
+ true
+
+ The variable to be matched is the first, or only, value of the
+ request parameter specified by this attribute.
+ ]]>
+
+
+
+ property
+ false
+ true
+
+ The variable to be matched is the property (of the bean specified
+ by the name attribute) specified by this attribute.
+ The property reference can be simple, nested, and/or indexed.
+ ]]>
+
+
+
+ scope
+ false
+ true
+
+ The bean scope within which to search for the bean named by the
+ name property, or "any scope" if not specified.
+ ]]>
+
+
+
+ value
+ true
+ true
+
+ The constant value which is checked for existence as a substring
+ of the specified variable.
+ ]]>
+
+
+
+
+ messagesNotPresent
+
+ org.apache.struts.taglib.logic.MessagesNotPresentTag
+ JSP
+
+
+ Generate the nested body content of this tag if the specified
+ message is not present in any scope.
+
+
+
Evaluates the nested body content of this tag if
+ an ActionMessages
+ object, ActionErrors object, a String,
+ or a String array is not present in any scope. If
+ such a bean is found, nothing will be rendered.
+
+
+
Since:
+
Struts 1.1
+ ]]>
+
+
+ name
+ false
+ true
+
+ The parameter key used to retrieve the message from page, request,
+ session or application scope.
+ ]]>
+
+
+
+ property
+ false
+ true
+
+ Name of the property for which messages should be
+ retrieved. If not specified, all messages (regardless
+ of property) are retrieved.
+
+ ]]>
+
+
+
+ message
+ false
+ true
+
+ By default the tag will retrieve the bean it will
+ iterate over from the Globals.ERROR_KEY constant string,
+ but if this attribute is set to 'true' the bean
+ will be retrieved from the Globals.MESSAGE_KEY
+ constant string. Also if this is set to 'true', any value
+ assigned to the name attribute will be ignored.
+
+ ]]>
+
+
+
+
+ messagesPresent
+
+ org.apache.struts.taglib.logic.MessagesPresentTag
+ JSP
+
+
+ Generate the nested body content of this tag if the specified
+ message is present in any scope.
+
+
+
Evaluates the nested body content of this tag if
+ an ActionMessages
+ object, ActionErrors object, a String,
+ or a String array is present in any scope. If
+ such a bean is not found, nothing will be rendered.
+
+
+
Since:
+
Struts 1.1
+ ]]>
+
+
+ name
+ false
+ true
+
+ The parameter key used to retrieve the message from page, request,
+ session, or application scope.
+ ]]>
+
+
+
+ property
+ false
+ true
+
+ Name of the property for which messages should be
+ retrieved. If not specified, all messages (regardless
+ of property) are retrieved.
+
+ ]]>
+
+
+
+ message
+ false
+ true
+
+ By default the tag will retrieve the bean it will
+ iterate over from the Globals.ERROR_KEY constant string,
+ but if this attribute is set to 'true' the bean
+ will be retrieved from the Globals.MESSAGE_KEY
+ constant string. Also if this is set to 'true', any value
+ assigned to the name attribute will be ignored.
+
+ ]]>
+
+
+
+
+ notEmpty
+ org.apache.struts.taglib.logic.NotEmptyTag
+ JSP
+
+
+ Evaluate the nested body content of this tag if the requested variable is
+ neither null, nor an empty string, nor an empty java.util.Collection
+ (tested by the .isEmpty() method on the java.util.Collection interface).
+
+
+
This tag evaluates its nested body content only if the specified value
+ is present (i.e. not null) and is not an empty string (i.e. a
+ java.lang.String with a length of zero).
+
+
+ JSTL: The equivalent JSTL tag is <c:if> using the
+ ! empty operator. For example,
+
+
+ <c:if test="${ ! empty sessionScope.myBean.myProperty}">
+ do something
+ </c:if>
+
+
+ ]]>
+
+
+ name
+ false
+ true
+
+ The variable to be compared is the JSP bean specified by this
+ attribute, if property is not specified, or the value
+ of the specified property of this bean, if property
+ is specified.
+ ]]>
+
+
+
+ property
+ false
+ true
+
+ The variable to be compared is the property (of the bean specified
+ by the name attribute) specified by this attribute.
+ The property reference can be simple, nested, and/or indexed.
+ ]]>
+
+
+
+ scope
+ false
+ true
+
+ The bean scope within which to search for the bean named by the
+ name property, or "any scope" if not specified.
+ ]]>
+
+
+
+
+ notEqual
+ org.apache.struts.taglib.logic.NotEqualTag
+ JSP
+
+
+ Evaluate the nested body content of this tag if the requested
+ variable is not equal to the specified value.
+
+
+
Compares the variable specified by one of the selector attributes
+ against the specified constant value. The nested body content of this
+ tag is evaluated if the variable and value are not equal.
+
+ ]]>
+
+
+ cookie
+ false
+ true
+
+ The variable to be compared is the value of the cookie whose
+ name is specified by this attribute.
+ ]]>
+
+
+
+ header
+ false
+ true
+
+ The variable to be compared is the value of the header whose
+ name is specified by this attribute. The name match is performed
+ in a case insensitive manner.
+ ]]>
+
+
+
+ name
+ false
+ true
+
+ The variable to be compared is the JSP bean specified by this
+ attribute, if property is not specified, or the value
+ of the specified property of this bean, if property
+ is specified.
+ ]]>
+
+
+
+ parameter
+ false
+ true
+
+ The variable to be compared is the first, or only, value of the
+ request parameter specified by this attribute.
+ ]]>
+
+
+
+ property
+ false
+ true
+
+ The variable to be compared is the property (of the bean specified
+ by the name attribute) specified by this attribute.
+ The property reference can be simple, nested, and/or indexed.
+ ]]>
+
+
+
+ scope
+ false
+ true
+
+ The bean scope within which to search for the bean named by the
+ name property, or "any scope" if not specified.
+ ]]>
+
+
+
+ value
+ true
+ true
+
+ The constant value to which the variable, specified by other
+ attribute(s) of this tag, will be compared.
+ ]]>
+
+
+
+
+ notMatch
+ org.apache.struts.taglib.logic.NotMatchTag
+ JSP
+
+
+ Evaluate the nested body content of this tag if the specified value
+ is not an appropriate substring of the requested variable.
+
+
+
Matches the variable specified by one of the selector attributes
+ (as a String) against the specified constant value. If the value is
+ not a substring (appropriately limited by the location
+ attribute), the nested body content of this tag is evaluated.
+ ]]>
+
+
+ cookie
+ false
+ true
+
+ The variable to be matched is the value of the cookie whose
+ name is specified by this attribute.
+ ]]>
+
+
+
+ header
+ false
+ true
+
+ The variable to be matched is the value of the header whose
+ name is specified by this attribute. The name match is performed
+ in a case insensitive manner.
+ ]]>
+
+
+
+ location
+ false
+ true
+
+ If not specified, a match between the variable and the value may
+ occur at any position within the variable string. If specified, the
+ match must occur at the specified location (either start
+ or end) of the variable string.
+ ]]>
+
+
+
+ name
+ false
+ true
+
+ The variable to be matched is the JSP bean specified by this
+ attribute, if property is not specified, or the value
+ of the specified property of this bean, if property
+ is specified.
+ ]]>
+
+
+
+ parameter
+ false
+ true
+
+ The variable to be matched is the first, or only, value of the
+ request parameter specified by this attribute.
+ ]]>
+
+
+
+ property
+ false
+ true
+
+ The variable to be matched is the property (of the bean specified
+ by the name attribute) specified by this attribute.
+ The property reference can be simple, nested, and/or indexed.
+ ]]>
+
+
+
+ scope
+ false
+ true
+
+ The bean scope within which to search for the bean named by the
+ name property, or "any scope" if not specified.
+ ]]>
+
+
+
+ value
+ true
+ true
+
+ The constant value which is checked for existence as a substring
+ of the specified variable.
+ ]]>
+
+
+
+
+ notPresent
+ org.apache.struts.taglib.logic.NotPresentTag
+ JSP
+
+
+ Generate the nested body content of this tag if the specified
+ value is not present in this request.
+
+
+
Depending on which attribute is specified, this tag checks the
+ current request, and evaluates the nested body content of this tag
+ only if the specified value is not present. Only one
+ of the attributes may be used in one occurrence of this tag, unless
+ you use the property attribute, in which case the
+ name attribute is also required.
+ ]]>
+
+
+ cookie
+ false
+ true
+
+ Checks for the existence of a cookie with the specified name.
+ ]]>
+
+
+
+ header
+ false
+ true
+
+ Checks for the existence of an HTTP header with the specified
+ name. The name match is performed in a case insensitive manner.
+ ]]>
+
+
+
+ name
+ false
+ true
+
+ Checks for the existence of a JSP bean, in any scope, with the
+ specified name. If property is also specified, checks
+ for a non-null property value for the specified property.
+ ]]>
+
+
+
+ parameter
+ false
+ true
+
+ Checks for the existence of at least one occurrence of the
+ specified request parameter on this request, even if the parameter
+ value is a zero-length string.
+ ]]>
+
+
+
+ property
+ false
+ true
+
+ Checks for the existence of a non-null property value, returned
+ by a property getter method on the JSP bean (in any scope) that is
+ specified by the name attribute. Property references
+ can be simple, nested, and/or indexed.
+ ]]>
+
+
+
+ role
+ false
+ true
+
+ Checks whether the currently authenticated user (if any) has been
+ associated with the specified security role.
+ ]]>
+
+
+
+ scope
+ false
+ true
+
+ The bean scope within which to search for the bean named by the
+ name property, or "any scope" if not specified.
+ ]]>
+
+
+
+ user
+ false
+ true
+
+ Checks whether the currently authenticated user principal has the
+ specified name.
+ ]]>
+
+
+
+
+ present
+ org.apache.struts.taglib.logic.PresentTag
+ JSP
+
+
+ Generate the nested body content of this tag if the specified
+ value is present in this request.
+
+
+
Depending on which attribute is specified, this tag checks the
+ current request, and evaluates the nested body content of this tag
+ only if the specified value is present. Only one
+ of the attributes may be used in one occurrence of this tag, unless
+ you use the property attribute, in which case the
+ name attribute is also required.
+ ]]>
+
+
+ cookie
+ false
+ true
+
+ Checks for the existence of a cookie with the specified name.
+ ]]>
+
+
+
+ header
+ false
+ true
+
+ Checks for the existence of an HTTP header with the specified
+ name. The name match is performed in a case insensitive manner.
+ ]]>
+
+
+
+ name
+ false
+ true
+
+ Checks for the existence of a JSP bean, in any scope, with the
+ specified name. If property is also specified, checks
+ for a non-null property value for the specified property.
+ ]]>
+
+
+
+ parameter
+ false
+ true
+
+ Checks for the existence of at least one occurrence of the
+ specified request parameter on this request, even if the parameter
+ value is a zero-length string.
+ ]]>
+
+
+
+ property
+ false
+ true
+
+ Checks for the existence of a non-null property value, returned
+ by a property getter method on the JSP bean (in any scope) that is
+ specified by the name attribute. Property references
+ can be simple, nested, and/or indexed.
+ ]]>
+
+
+
+ role
+ false
+ true
+
+ Checks whether the currently authenticated user (if any) has been
+ associated with any of the specified security roles. Use a comma-delimited
+ list to check for multiple roles. Example:
+ <logic:present role="role1,role2,role3">
+ code.....
+ </logic:present>
+ ]]>
+
+
+
+ scope
+ false
+ true
+
+ The bean scope within which to search for the bean named by the
+ name property, or "any scope" if not specified.
+ ]]>
+
+
+
+ user
+ false
+ true
+
+ Checks whether the currently authenticated user principal has the
+ specified name.
+ ]]>
+
+
+
+
+ redirect
+ org.apache.struts.taglib.logic.RedirectTag
+
+ Render an HTTP Redirect
+
+
+
Performs an HttpServletResponse.sendRedirect()
+ call to the hyperlink specified by the attributes to this
+ tag. URL rewriting will be applied automatically, to
+ maintain session state in the absence of cookies.
+
+
The base URL for this redirect is calculated based on
+ which of the following attributes you specify (you must
+ specify exactly one of them):
+
+
forward - Use the value of this attribute as the
+ name of a global ActionForward to be looked
+ up, and use the module-relative or context-relative
+ URI found there.
+
href - Use the value of this attribute unchanged.
+
+
page - Use the value of this attribute as an
+ module-relative URI, and generate a server-relative
+ URI by including the context path.
+
+
+
Normally, the redirect you specify with one of the
+ attributes described in the previous paragraph will be left
+ unchanged (other than URL rewriting if necessary). However,
+ there are two ways you can append one or more dynamically
+ defined query parameters to the hyperlink -- specify a single
+ parameter with the paramId attribute (and its
+ associated attributes to select the value), or specify the
+ name (and optional property)
+ attributes to select a java.util.Map bean that
+ contains one or more parameter ids and corresponding values.
+
+
+
To specify a single parameter, use the paramId
+ attribute to define the name of the request parameter to be
+ submitted. To specify the corresponding value, use one of the
+ following approaches:
+
+
Specify only the paramName attribute
+ - The named JSP bean (optionally scoped by the value of the
+ paramScope attribute) must identify a value
+ that can be converted to a String.
+
Specify both the paramName and
+ paramProperty attributes - The specified
+ property getter method will be called on the JSP bean
+ identified by the paramName (and optional
+ paramScope) attributes, in order to select
+ a value that can be converted to a String.
+
+
+
If you prefer to specify a java.util.Map that
+ contains all of the request parameters to be added to the
+ hyperlink, use one of the following techniques:
+
+
Specify only the name attribute -
+ The named JSP bean (optionally scoped by the value of
+ the scope attribute) must identify a
+ java.util.Map containing the parameters.
+
Specify both name and
+ property attributes - The specified
+ property getter method will be called on the bean
+ identified by the name (and optional
+ scope) attributes, in order to return the
+ java.util.Map containing the parameters.
+
+
+
As the Map is processed, the keys are assumed
+ to be the names of query parameters to be appended to the
+ hyperlink. The value associated with each key must be either
+ a String or a String array representing the parameter value(s).
+ If a String array is specified, more than one value for the
+ same query parameter name will be created.
+ ]]>
+
+
+ action
+ false
+ true
+
+ Logical name of a global Action that
+ contains the actual content-relative URI of the destination
+ of this transfer. This hyperlink may be dynamically
+ modified by the inclusion of query parameters, as described
+ in the tag description. You must specify
+ exactly one of the action attribute, the
+ forward attribute, the
+ href attribute,
+ or the page attribute.
+ ]]>
+
+
+
+ anchor
+ false
+ true
+
+ Optional anchor tag ("#xxx") to be added to the generated
+ hyperlink. Specify this value without any
+ "#" character.
+ ]]>
+
+
+
+ forward
+ false
+ true
+
+ Logical name of a global ActionForward that
+ contains the actual content-relative URI of the destination
+ of this redirect. This URI may be dynamically
+ modified by the inclusion of query parameters, as described
+ in the tag description. You must specify
+ exactly one of the forward attribute, the
+ href attribute, the linkName
+ attribute, or the page attribute.
+ ]]>
+
+
+
+ href
+ false
+ true
+
+ The URL to which this redirect will transfer control.
+ This URL may be dynamically modified
+ by the inclusion of query parameters, as described in the
+ tag description. You must specify
+ exactly one of the forward attribute, the
+ href attribute, the linkName
+ attribute, or the page attribute.
+ ]]>
+
+
+
+ name
+ false
+ true
+
+ The name of a JSP bean that contains a Map
+ representing the query parameters (if property
+ is not specified), or a JSP bean whose property getter is
+ called to return a Map (if property
+ is specified).
+ ]]>
+
+
+
+ page
+ false
+ true
+
+ The context-relative path (beginning with a "/"
+ character) to which this hyperlink will transfer control
+ if activated. This hyperlink may be dynamically modified
+ by the inclusion of query parameters, as described in the
+ tag description. You must specify exactly
+ one of the forward attribute, the
+ href attribute, the linkName
+ attribute, or the page attribute.
+ ]]>
+
+
+
+ paramId
+ false
+ true
+
+ The name of the request parameter that will be dynamically
+ added to the generated hyperlink. The corresponding value is
+ defined by the paramName and (optional)
+ paramProperty attributes, optionally scoped by
+ the paramScope attribute
+ ]]>
+
+
+
+ paramName
+ false
+ true
+
+ The name of a JSP bean that is a String containing the
+ value for the request parameter named by paramId
+ (if paramProperty is not specified), or a JSP
+ bean whose property getter is called to return a String
+ (if paramProperty is specified). The JSP bean
+ is constrained to the bean scope specified by the
+ paramScope property, if it is specified.
+ ]]>
+
+
+
+ paramProperty
+ false
+ true
+
+ The name of a property of the bean specified by the
+ paramName attribute, whose return value must
+ be a String containing the value of the request parameter
+ (named by the paramId attribute) that will be
+ dynamically added to this hyperlink.
+ ]]>
+
+
+
+ paramScope
+ false
+ true
+
+ The scope within which to search for the bean specified
+ by the paramName attribute. If not specified,
+ all scopes are searched.
+ ]]>
+
+
+
+ property
+ false
+ true
+
+ The name of a property of the bean specified by the
+ name attribute, whose return value must be
+ a java.util.Map containing the query parameters
+ to be added to the hyperlink. You must
+ specify the name attribute if you specify
+ this attribute.
+ ]]>
+
+
+
+ scope
+ false
+ true
+
+ The scope within which to search for the bean specified
+ by the name attribute. If not specified, all
+ scopes are searched.
+ ]]>
+
+
+
+ transaction
+ false
+ true
+ boolean
+
+ Set to true if you want the current
+ transaction control token included in the generated
+ URL for this redirect.
+ ]]>
+
+
+
+ useLocalEncoding
+ false
+ true
+ boolean
+
+ If set to true, LocalCharacterEncoding will be
+ used, that is, the characterEncoding set to the HttpServletResponse,
+ as prefered character encoding rather than UTF-8, when
+ URLEncoding is done on parameters of the URL.
+ ]]>
+
+
+
+
+
+
+
diff --git a/build/web/WEB-INF/struts-nested.tld b/build/web/WEB-INF/struts-nested.tld
new file mode 100644
index 0000000..a22ed58
--- /dev/null
+++ b/build/web/WEB-INF/struts-nested.tld
@@ -0,0 +1,5089 @@
+
+
+
+
+ 1.3
+ 1.2
+ nested
+ http://struts.apache.org/tags-nested
+
+ [Since Struts 1.1]
+
This tag library brings a nested context to the functionality of the
+ Struts custom tag library.
+
+
It's written in a layer that extends the current Struts tags, building on
+ their logic and functionality. The layer enables the tags to be aware of the
+ tags which surround them so they can correctly provide the nesting property
+ reference to the Struts system.
+
+
+
It's all about nesting beans...
+ A bean holds a reference to another bean internally, and all access to that
+ bean is handled through the current bean. This act of having one bean's
+ access go through another bean is known as "nesting beans". The first bean
+ is known as the parent bean. The bean which it references, is known as a
+ child bean. The terms "parent" and "child" are commonly used to describe the
+ model's hierarchy.
+
+
+
A simple example...
+ Take an object which represents a monkey. The monkey's job is to pick
+ bunches of bananas. On each bunch picked hangs many bananas. If this case
+ was translated to bean objects, the monkey object would have a reference to
+ the bunch objects he picked, and each bunch object would hold a reference
+ to the bananas hanging in the bunch.
+
+
+
To describe this...
+ The monkey object is the parent to the bunch object, and the bunch object
+ is a child of the monkey object. The bunch object is parent to its child
+ banana objects, and the child banana objects children of the bunch object.
+ The monkey is higher in the hierarchy than the bananas, and the bananas
+ lower in the hierarchy to the bunches.
+
+
+
One special term to remember is for the most parent class, which is known
+ as the "root" object which starts the hierarchy.
+
+
Nested tags are all about efficiently managing this style of hierarchy
+ structure within your JSP markup.
+
+
+ Important Note: Nearly all these tags extend tags from
+ other libraries to bring their functionality into the nested context.
+ Nesting relies on the tags working against the one bean model, and managing
+ the properties so that they become relative to the properties they are
+ nested within. In doing so, the tags will set the "name" attribute internally
+ (where applicable), and in many cases will rely on the "property" attribute
+ being set so it can be updated internally to become nested. The original tags
+ on occasion provide options that don't use the "name" and "property"
+ attributes. These uses will then fall outside the nested context, and will
+ most likely cause error. To take advantage of these options, markup using
+ the original tag for these cases. For an example see the
+ <nested:options> tag.
+
+ ]]>
+
+
+ nest
+
+ org.apache.struts.taglib.nested.NestedPropertyTag
+ JSP
+
+
+ Defines a new level of nesting for child tags to reference to
+
+
+
+ This tag provides a simple method of defining a logical nesting level in
+ the nested hierarchy. It run no explicit logic, is simply a place holder.
+ It also means you can remove the need for explicit setting of level
+ properties in child tags.
+
+
+ Just as the iterate tag provide a parent to other tags, this does the same
+ but there is no logic for iterating or otherwise.
+
+ ]]>
+
+
+ property
+ false
+ true
+
+
+
+
+
+
+ writeNesting
+
+ org.apache.struts.taglib.nested.NestedWriteNestingTag
+
+ org.apache.struts.taglib.nested.NestedWriteNestingTei
+ JSP
+
+
+ Writes or makes a scripting variable of the current nesting level.
+
+
+ This tag provides a way of accessing the nested property reference used by
+ the nested tags. Can expose a scripting variable, or simply write out the
+ value.
+ ]]>
+
+
+ property
+ false
+ true
+
+
+
+
+
+ id
+ false
+ true
+
+ id is supplied, then what would have been written out into the
+ response stream, will instead be made available as a String object
+ defined by the variable name provided.
+ ]]>
+
+
+
+ filter
+ false
+ true
+ boolean
+
+
+
+
+
+
+ root
+ org.apache.struts.taglib.nested.NestedRootTag
+ JSP
+
+ To start off a nested hierarchy without the need for a form
+
+
+ This tag is provided to allow the nested tags to find a common bean
+ reference without the need for a form and its relative overhead. As
+ long as the name attribute of this tag matches the name
+ of a bean in scope of the JSP (ie: Struts tags can find it via usual
+ means). For example you can load a bean for use with the
+ jsp:useBean tag.
+
+
+ The tag can also be used without specifying the name
+ attribute, but this is only in the case that the current JSP is a
+ dynamic include specified in another file. You will not be able to run
+ the tag without a name unless this inclusion is in place. Otherwise
+ the nested tags will not have the bean and property references that they
+ need to provide their logic.
+
+
+ Note: The access to a bean via the name
+ attribute takes priority over looking for the reference from other
+ parent tags. So if a name is specified, a bean will have to be there
+ waiting for it. It was made this way so that you could use separate
+ beans within a JSP that itself is an inclusion into another.
+
+ ]]>
+
+
+ name
+ false
+ true
+
+
+
+
+
+
+ define
+
+ org.apache.struts.taglib.nested.bean.NestedDefineTag
+
+ org.apache.struts.taglib.nested.bean.NestedDefineTei
+ empty
+
+ Nested Extension -
+ Define a scripting variable based on the value(s) of the specified
+ bean property.
+
+
+
This tag is an extension of the
+ <bean:define>
+ tag. Please consult its documentation for information on tag attributes
+ and usage details.
+
This tag is an extension of the
+ <html:options>
+ tag. Please consult its documentation for information on tag attributes
+ and usage details.
+
+
+ Note: The nested context of this tag relies on the use
+ of the "property" property, and the internal use of the "name" property.
+ The nested tags rely on these properties and will attempt to set them
+ itself. The <html:options> tag this tag extended
+ allows other options for the tag which don't use these properties.
+ To take advantage of these options, markup using the
+ <html:options> tag instead of the nested tag.
+
+
+ For example, the "collections" option allows you to specify a separate
+ bean reference which itself is a list of objects with properties
+ to access the title and value parts of the html option tag. You can use
+ this in a nested context (the list is a property of a nested bean) by
+ using the nested define tag and the original options tag.
+
This tag is an extension of the
+ <html:optionsCollection>
+ tag. Please consult its documentation for information on tag attributes
+ and usage details.
+
This tag is an extension of the
+ <logic:empty>
+ tag. Please consult its documentation for information on tag attributes
+ and usage details.
+
+ ]]>
+
+
+ name
+ false
+ true
+
+
+
+ property
+ false
+ true
+
+
+
+ scope
+ false
+ true
+
+
+
+
+ equal
+
+ org.apache.struts.taglib.nested.logic.NestedEqualTag
+ JSP
+
+ Nested Extension -
+ Evaluate the nested body content of this tag if the requested
+ variable is equal to the specified value.
+
+
+
This tag is an extension of the
+ <logic:equal>
+ tag. Please consult its documentation for information on tag attributes
+ and usage details.
+
+ ]]>
+
+
+ cookie
+ false
+ true
+
+
+
+ header
+ false
+ true
+
+
+
+ name
+ false
+ true
+
+
+
+ parameter
+ false
+ true
+
+
+
+ property
+ false
+ true
+
+
+
+ scope
+ false
+ true
+
+
+
+ value
+ true
+ true
+
+
+
+
+ greaterEqual
+
+ org.apache.struts.taglib.nested.logic.NestedGreaterEqualTag
+ JSP
+
+ Nested Extension - Evaluate the nested body content of this tag if the requested
+ variable is greater than or equal to the specified value.
+
+
+
This tag is an extension of the
+ <logic:greaterEqual>
+ tag. Please consult its documentation for information on tag attributes
+ and usage details.
+
+ ]]>
+
+
+ cookie
+ false
+ true
+
+
+
+ header
+ false
+ true
+
+
+
+ name
+ false
+ true
+
+
+
+ parameter
+ false
+ true
+
+
+
+ property
+ false
+ true
+
+
+
+ scope
+ false
+ true
+
+
+
+ value
+ true
+ true
+
+
+
+
+ greaterThan
+
+ org.apache.struts.taglib.nested.logic.NestedGreaterThanTag
+ JSP
+
+ Nested Extension -
+ Evaluate the nested body content of this tag if the requested
+ variable is greater than the specified value.
+
+
+
This tag is an extension of the
+ <logic:greaterThan>
+ tag. Please consult its documentation for information on tag attributes
+ and usage details.
+
This tag is an extension of the
+ <logic:iterate>
+ tag. Please consult its documentation for information on tag attributes
+ and usage details.
+
+ ]]>
+
+
+ collection
+ false
+ true
+ java.lang.Object
+
+
+
+ id
+ false
+ true
+
+
+
+ indexId
+ false
+ true
+
+
+
+ length
+ false
+ true
+
+
+
+ name
+ false
+ true
+
+
+
+ offset
+ false
+ true
+
+
+
+ property
+ false
+ true
+
+
+
+ scope
+ false
+ true
+
+
+
+ type
+ false
+ true
+
+
+
+
+ lessEqual
+
+ org.apache.struts.taglib.nested.logic.NestedLessEqualTag
+ JSP
+
+ Nested Extension -
+ Evaluate the nested body content of this tag if the requested
+ variable is greater than or equal to the specified value.
+
+
+
This tag is an extension of the
+ <logic:lessEqual>
+ tag. Please consult its documentation for information on tag attributes
+ and usage details.
+
+ ]]>
+
+
+ cookie
+ false
+ true
+
+
+
+ header
+ false
+ true
+
+
+
+ name
+ false
+ true
+
+
+
+ parameter
+ false
+ true
+
+
+
+ property
+ false
+ true
+
+
+
+ scope
+ false
+ true
+
+
+
+ value
+ true
+ true
+
+
+
+
+ lessThan
+
+ org.apache.struts.taglib.nested.logic.NestedLessThanTag
+ JSP
+
+ Nested Extension -
+ Evaluate the nested body content of this tag if the requested
+ variable is less than the specified value.
+
+
+
This tag is an extension of the
+ <logic:lessThan>
+ tag. Please consult its documentation for information on tag attributes
+ and usage details.
+
+ ]]>
+
+
+ cookie
+ false
+ true
+
+
+
+ header
+ false
+ true
+
+
+
+ name
+ false
+ true
+
+
+
+ parameter
+ false
+ true
+
+
+
+ property
+ false
+ true
+
+
+
+ scope
+ false
+ true
+
+
+
+ value
+ true
+ true
+
+
+
+
+ match
+
+ org.apache.struts.taglib.nested.logic.NestedMatchTag
+ JSP
+
+ Nested Extension -
+ Evaluate the nested body content of this tag if the specified value
+ is an appropriate substring of the requested variable.
+
+
+
This tag is an extension of the
+ <logic:match>
+ tag. Please consult its documentation for information on tag attributes
+ and usage details.
+
+ ]]>
+
+
+ cookie
+ false
+ true
+
+
+
+ header
+ false
+ true
+
+
+
+ location
+ false
+ true
+
+
+
+ name
+ false
+ true
+
+
+
+ parameter
+ false
+ true
+
+
+
+ property
+ false
+ true
+
+
+
+ scope
+ false
+ true
+
+
+
+ value
+ true
+ true
+
+
+
+
+ messagesNotPresent
+
+ org.apache.struts.taglib.nested.logic.NestedMessagesNotPresentTag
+ JSP
+
+
+ Nested Extension -
+ Generate the nested body content of this tag if the specified
+ message is not present in this request.
+
+
+
This tag is an extension of the
+ <logic:messagesNotPresent>
+ tag. Please consult its documentation for information on tag attributes
+ and usage details.
+
+ ]]>
+
+
+ name
+ false
+ true
+
+
+
+ property
+ false
+ true
+
+
+
+ message
+ false
+ true
+
+
+
+
+ messagesPresent
+
+ org.apache.struts.taglib.nested.logic.NestedMessagesPresentTag
+ JSP
+
+
+ Nested Extension -
+ Generate the nested body content of this tag if the specified
+ message is present in this request.
+
+
+
This tag is an extension of the
+ <logic:messagesPresent>
+ tag. Please consult its documentation for information on tag attributes
+ and usage details.
+
+ ]]>
+
+
+ name
+ false
+ true
+
+
+
+ property
+ false
+ true
+
+
+
+ message
+ false
+ true
+
+
+
+
+ notEmpty
+
+ org.apache.struts.taglib.nested.logic.NestedNotEmptyTag
+ JSP
+
+ Nested Extension -
+ Evaluate the nested body content of this tag if the requested variable is
+ neither null nor an empty string.
+
+
+
This tag is an extension of the
+ <logic:notEmpty>
+ tag. Please consult its documentation for information on tag attributes
+ and usage details.
+
+ ]]>
+
+
+ name
+ false
+ true
+
+
+
+ property
+ false
+ true
+
+
+
+ scope
+ false
+ true
+
+
+
+
+ notEqual
+
+ org.apache.struts.taglib.nested.logic.NestedNotEqualTag
+ JSP
+
+ Nested Extension -
+ Evaluate the nested body content of this tag if the requested
+ variable is not equal to the specified value.
+
+
+
This tag is an extension of the
+ <logic:notEqual>
+ tag. Please consult its documentation for information on tag attributes
+ and usage details.
+
+ ]]>
+
+
+ cookie
+ false
+ true
+
+
+
+ header
+ false
+ true
+
+
+
+ name
+ false
+ true
+
+
+
+ parameter
+ false
+ true
+
+
+
+ property
+ false
+ true
+
+
+
+ scope
+ false
+ true
+
+
+
+ value
+ true
+ true
+
+
+
+
+ notMatch
+
+ org.apache.struts.taglib.nested.logic.NestedNotMatchTag
+ JSP
+
+ Nested Extension -
+ Evaluate the nested body content of this tag if the specified value
+ is not an appropriate substring of the requested variable.
+
+
+
This tag is an extension of the
+ <logic:notMatch>
+ tag. Please consult its documentation for information on tag attributes
+ and usage details.
+
+ ]]>
+
+
+ cookie
+ false
+ true
+
+
+
+ header
+ false
+ true
+
+
+
+ location
+ false
+ true
+
+
+
+ name
+ false
+ true
+
+
+
+ parameter
+ false
+ true
+
+
+
+ property
+ false
+ true
+
+
+
+ scope
+ false
+ true
+
+
+
+ value
+ true
+ true
+
+
+
+
+ notPresent
+
+ org.apache.struts.taglib.nested.logic.NestedNotPresentTag
+ JSP
+
+ Nested Extension -
+ Generate the nested body content of this tag if the specified
+ value is not present in this request.
+
+
+
This tag is an extension of the
+ <logic:notPresent>
+ tag. Please consult its documentation for information on tag attributes
+ and usage details.
+
+ ]]>
+
+
+ cookie
+ false
+ true
+
+
+
+ header
+ false
+ true
+
+
+
+ name
+ false
+ true
+
+
+
+ parameter
+ false
+ true
+
+
+
+ property
+ false
+ true
+
+
+
+ role
+ false
+ true
+
+
+
+ scope
+ false
+ true
+
+
+
+ user
+ false
+ true
+
+
+
+
+ present
+
+ org.apache.struts.taglib.nested.logic.NestedPresentTag
+ JSP
+
+ Nested Extension -
+ Generate the nested body content of this tag if the specified
+ value is present in this request.
+
+
+
This tag is an extension of the
+ <logic:present>
+ tag. Please consult its documentation for information on tag attributes
+ and usage details.
+
+ ]]>
+
+
+ cookie
+ false
+ true
+
+
+
+ header
+ false
+ true
+
+
+
+ name
+ false
+ true
+
+
+
+ parameter
+ false
+ true
+
+
+
+ property
+ false
+ true
+
+
+
+ role
+ false
+ true
+
+
+
+ scope
+ false
+ true
+
+
+
+ user
+ false
+ true
+
+
+
+
+
+
+
diff --git a/build/web/WEB-INF/struts-tiles.tld b/build/web/WEB-INF/struts-tiles.tld
new file mode 100644
index 0000000..0f759ef
--- /dev/null
+++ b/build/web/WEB-INF/struts-tiles.tld
@@ -0,0 +1,916 @@
+
+
+
+
+ 1.3
+ 1.2
+ tiles
+ http://struts.apache.org/tags-tiles
+
+ This tag library provides tiles tags.Tiles were previously called
+ Components. For historical reasons, names, pages, components and templates
+ are used indifferently to design a tile. Also, a lot of tags and attribute
+ names are left for backward compatibility.To know more about tags defined
+ in this library, check the associated documentation: tiles-doc.
+ ]]>
+
+
+ insert
+ org.apache.struts.tiles.taglib.InsertTag
+ JSP
+
+ Insert a tiles/component/template.
+
Insert a tiles/component/template with the possibility to pass
+ parameters (called attribute).
+ A tile can be seen as a procedure that can take parameters or attributes.
+ <tiles:insert> allows to define these attributes
+ and pass them to the inserted jsp page, called template.
+ Attributes are defined using nested tag <tiles:put> or
+ <tiles:putList>.
+
+
You must specify one of this tag attribute :
+
+
+
template, for inserting a tiles/component/template
+ page,
+
+
component, for inserting a tiles/component/template
+ page, (same as template)
+
+
page for inserting a JSP page, (same as template)
+
+
definition, for inserting a definition from
+ definitions factory
+
+
attribute, surrounding tiles's attribute name whose
+ value is used. If attribute is associated to 'direct' flag
+ (see put), and flag is true, write attribute value (no insertion).
+
+
name, to let 'insert' determine the type of entities
+ to insert. In this later case, search is done in this order :
+ definitions, tiles/components/templates, pages.
+
+
+
In fact, Page, component and template, are equivalent as a tile,
+ component or template are jsp page.
+ ]]>
+
+
+ template
+ false
+ true
+
+ A string representing the URI of a tile or template (a JSP page).
+
+
'page', 'component' and 'template' are synonyms : they have
+ exactly the same behavior.
+ ]]>
+
+
+
+ component
+ false
+ true
+
+ Path (relative or absolute to webapps) of the component to insert.
+
'page', 'component' and 'template' are synonyms :
+ they have exactly the same behavior.
+ ]]>
+
+
+
+ page
+ false
+ true
+
+ Path (relative or absolute to webapps) of the page to insert.
+
'page', 'component' and 'template' are synonyms :
+ they have exactly the same behavior.
+ ]]>
+
+
+
+ definition
+ false
+ true
+
+ Name of the definition to insert. Definition are defined in a
+ centralized file. For now, only definition from factory can be inserted
+ with this attribute. To insert a definition defined with tag
+ <tiles:definition>, use beanName="".
+ ]]>
+
+
+
+ attribute
+ false
+ false
+
+ Name of an attribute in current tile/component context. Value of
+ this attribute is passed to 'name' (see attribute 'name').
+ ]]>
+
+
+
+ name
+ false
+ true
+
+ Name of an entity to insert. Search is done in this order :
+ definition, attribute, [tile/component/template/page].
+ ]]>
+
+
+
+ beanName
+ false
+ true
+
+ Name of the bean used as value. Bean is retrieved from specified
+ context, if any. Otherwise, method pageContext.findAttribute is used.
+ If beanProperty is also specified, retrieve value from the
+ corresponding bean property.
+
If found bean (or property value)
+ is instance of one of Attribute class (Direct, Instance, ...),
+ insertion is done according to the class type. Otherwise, the toString
+ method is called on the bean, and returned String is used as name to
+ insert (see 'name' attribute).
+ ]]>
+
+
+
+ beanProperty
+ false
+ true
+
+ Bean property name. If specified, value is retrieve from this
+ property. Support nested/indexed properties.
+ ]]>
+
+
+
+ beanScope
+ false
+ false
+
+ Scope into which bean is searched. If not specified, method
+ pageContext.findAttribute is used. Scope can be any JSP scope,
+ 'component', or 'template'. In these two later cases, bean is search in
+ tile/component/template context.
+ ]]>
+
+
+
+ flush
+ false
+ false
+ boolean
+
+ True or false. If true, current page out stream is flushed
+ before insertion.
+ ]]>
+
+
+
+ ignore
+ false
+ true
+ boolean
+
+ If this attribute is set to true, and the attribute specified by the
+ name does not exist, simply return without writing anything. The
+ default value is false, which will cause a runtime exception to be
+ thrown.
+ ]]>
+
+
+
+ role
+ false
+ true
+
+ If the user is in the specified role, the tag is taken into account;
+ otherwise, the tag is ignored (skipped).
+ ]]>
+
+
+
+ controllerUrl
+ false
+ true
+
+ Url of a controller called immediately before page is inserted.
+
Url usually denote a Struts action. Controller (action) is used to
+ prepare data to be render by inserted Tile.
+
See also controlerClass. Only one of controllerUrl or
+ controllerClass should be used.
+ ]]>
+
+
+
+ controllerClass
+ false
+ true
+
+ Class type of a controller called immediately before page is inserted.
+
Controller is used to prepare data to be render by inserted Tile.
+
See also controlerUrl
+
Class must implements or extends one of the following :
+
+
org.apache.struts.tiles.Controller
+
org.apache.struts.tiles.ControllerSupport
+
org.apache.struts.action.Action (wrapper org.apache.struts.action.ActionController is used)
+
+
See also controllerUrl. Only one of controllerUrl or controllerClass should be used.
Create a tile/component/template definition as a bean.
+ Newly created bean will be saved under specified "id", in the requested "scope".
+ Definition tag has same syntax as insert
+ ]]>
+
+
+ id
+ true
+ false
+
+ Specifies the name under which the newly created definition bean
+ will be saved.
+ ]]>
+
+
+
+ scope
+ false
+ false
+
+ Specifies the variable scope into which the newly defined bean
+ will be created.
+ If not specified, the bean will be created in page scope.
+ ]]>
+
+
+
+ template
+ false
+ true
+
+ A string representing the URI of a tile/component/template
+ (a JSP page).
+ ]]>
+
+
+
+ page
+ false
+ true
+
+ URL of the template / component to insert. Same as "template".
+ ]]>
+
+
+
+ role
+ false
+ true
+
+ Role to check before inserting this definition. If role is not
+ defined for current user, definition is not inserted. Checking is
+ done at insert time, not during definition process.
+ ]]>
+
+
+
+ extends
+ false
+ true
+
+ Name of a parent definition that is used to initialize this new
+ definition. Parent definition is searched in definitions factory.
+ ]]>
+
+
+
+
+ put
+ org.apache.struts.tiles.taglib.PutTag
+ JSP
+
+ Put an attribute into tile/component/template context.
+
+
Define an attribute to pass to tile/component/template.
+ This tag can only be used inside 'insert' or 'definition' tag.
+ Value (or content) is specified using attribute 'value' (or 'content'),
+ or using the tag body.
+ It is also possible to specify the type of the value :
+
+
string : Content is written directly.
+
page | template : Content is included from specified URL. Name is used as an URL.
+
definition : Content come from specified definition (from factory). Name is used as definition name.
+
+
If 'type' attribute is not specified, content is 'untyped', unless it comes from a typed bean.
+
Note that using 'direct="true"' is equivalent to 'type="string"'.
+ ]]>
+
+
+ name
+ false
+ false
+
+ Name of the attribute.
+ ]]>
+
+
+
+ value
+ false
+ true
+
+ Attribute value. Could be a String or an Object.
+ Value can come from a direct assignment (value="aValue") or from a bean.
+ One of 'value' 'content' or 'beanName' must be present.
+ ]]>
+
+
+
+ content
+ false
+ true
+
+ Content that's put into tile scope.
+ Synonym to value. Attribute added for compatibility with JSP Template.
+
+ ]]>
+
+
+
+ direct
+ false
+ false
+
+ Determines how content is handled: true means content is
+ printed direct
+ ]]>
+
+
+
+ type
+ false
+ false
+
+ Specify content type: string, page, template or definition.
+
+
String : Content is printed directly.
+
page | template : Content is included from specified URL. Name is used as an URL.
+
definition : Value is the name of a definition defined in factory (xml file). Definition will be searched
+ in the inserted tile, in a <tiles:insert attribute="attributeName"> tag, where 'attributeName'
+ is the name used for this tag.
+
+ ]]>
+
+
+
+ beanName
+ false
+ true
+
+ Name of the bean used as value. Bean is retrieved from specified context, if any. Otherwise,
+ method pageContext.findAttribute is used.
+ If beanProperty is specified, retrieve value from the corresponding bean property.
+ ]]>
+
+
+
+ beanProperty
+ false
+ true
+
+ Bean property name. If specified, value is retrieve from this property. Support nested/indexed
+ properties.
+ ]]>
+
+
+
+ beanScope
+ false
+ false
+
+
+ Scope into which bean is searched. If not specified, method pageContext.findAttribute is used.
+ Scope can be any JSP scope, 'tile', 'component', or 'template'.
+ In these three later cases, bean is search in tile/component/template context.
+
+ ]]>
+
+
+
+ role
+ false
+ true
+
+
+ If the user is in the specified role, the tag is taken into account;
+ otherwise, the tag is ignored (skipped).
+
+ ]]>
+
+
+
+
+ putList
+ org.apache.struts.tiles.taglib.PutListTag
+ JSP
+
+ Declare a list that will be pass as attribute to tile.
+
+
Declare a list that will be pass as attribute to tile.
+ List elements are added using the tag 'add'.
+ This tag can only be used inside 'insert' or 'definition' tag.
+ ]]>
+
+
+ name
+ true
+ false
+
+ Name of the list.
+ ]]>
+
+
+
+
+ add
+ org.apache.struts.tiles.taglib.AddTag
+ JSP
+
+ Add an element to the surrounding list.
+ Equivalent to 'put', but for list element.
+
+
Add an element to the surrounding list.
+ This tag can only be used inside putList tag.
+ Value can come from a direct assignment (value="aValue") or from a bean.
+ One of 'value' or 'beanName' must be present.
+ ]]>
+
+
+ value
+ false
+ false
+
+ Element value. Can be a String or Object.
+ ]]>
+
+
+
+ content
+ false
+ true
+
+
+ Element value. Can be a String or Object.
+ Synonym to value. Attribute added for compatibility with JSP Template.
+
+ ]]>
+
+
+
+ direct
+ false
+ false
+
+
+ Determines how content is handled: true means content is
+ printed direct
+
+ ]]>
+
+
+
+ type
+ false
+ false
+
+ Specify content type: string, page, template or instance.
+
+
String : Content is printed directly.
+
page | template : Content is included from specified URL. Name is used as an URL.
+
definition : Value denote a definition defined in factory (xml file). Definition will be searched
+ in the inserted tile, in a <insert attribute="attributeName"> tag, where 'attributeName'
+ is the name used for this tag.
+
+ ]]>
+
+
+
+ beanName
+ false
+ true
+
+
+ Name of the bean used as value. Bean is retrieved from specified context, if any. Otherwise,
+ method pageContext.findAttribute is used.
+ If beanProperty is specified, retrieve value from the corresponding bean property.
+
+ ]]>
+
+
+
+ beanProperty
+ false
+ true
+
+
+ Bean property name. If specified, value is retrieve from this property.
+ Support nested/indexed properties.
+
+ ]]>
+
+
+
+ beanScope
+ false
+ false
+
+
+ Scope into which bean is searched. If not specified, method pageContext.findAttribute is used.
+ Scope can be any JSP scope, 'component', or 'template'.
+ In these two later cases, bean is search in tile/component/template context.
+
+ ]]>
+
+
+
+ role
+ false
+ true
+
+ If the user is in the specified role, the tag is taken into account;
+ otherwise, the tag is ignored (skipped).
+
The role isn't taken into account if <add>
+ tag is used in a definition.
+ ]]>
+
+
+
+
+ get
+ org.apache.struts.tiles.taglib.GetTag
+ empty
+
+
+ Gets the content from request scope that was put there by a
+ put tag.
+
Retrieve content from tile context and include it.
+
Take into account the 'type' attribute.
+ ]]>
+
+
+ name
+ true
+ true
+
+ The name of the content to get from tile/component scope.
+ ]]>
+
+
+
+ ignore
+ false
+ true
+ boolean
+
+
+ If this attribute is set to true, and the attribute specified by the name
+ does not exist, simply return without writing anything. The default value is false, which will
+ cause a runtime exception to be thrown.
+
+ ]]>
+
+
+
+ flush
+ false
+ false
+ boolean
+
+ True or false. If true, current page out stream is flushed before
+ insertion.
+ ]]>
+
+
+
+ role
+ false
+ true
+
+ If the user is in the specified role, the tag is taken into account;
+ otherwise, the tag is ignored (skipped).
+ ]]>
+
+
+
+
+ getAsString
+ org.apache.struts.tiles.taglib.GetAttributeTag
+ empty
+
+
+ Render the value of the specified tile/component/template attribute to the current JspWriter
+
+
+
Retrieve the value of the specified tile/component/template attribute
+ property, and render it to the current JspWriter as a String.
+ The usual toString() conversions is applied on found value.
+
Throw a JSPException if named value is not found.
+ ]]>
+
+
+ name
+ true
+ true
+
+ Attribute name.
+ ]]>
+
+
+
+ ignore
+ false
+ true
+ boolean
+
+
+ If this attribute is set to true, and the attribute specified by the name
+ does not exist, simply return without writing anything. The default value is false, which will
+ cause a runtime exception to be thrown.
+
+ ]]>
+
+
+
+ role
+ false
+ true
+
+
+ If the user is in the specified role, the tag is taken into account;
+ otherwise, the tag is ignored (skipped).
+
+ ]]>
+
+
+
+
+ useAttribute
+ org.apache.struts.tiles.taglib.UseAttributeTag
+ org.apache.struts.tiles.taglib.UseAttributeTei
+ empty
+
+ Use attribute value inside page.
+
Declare a Java variable, and an attribute in the specified scope,
+ using tile attribute value.
+
Java variable and attribute will have the name specified by 'id',
+ or the original name if not specified.
+ ]]>
+
+
+ id
+ false
+ false
+
+ Declared attribute and variable name.
+ ]]>
+
+
+
+ classname
+ false
+ false
+
+ Class of the declared variable.
+ ]]>
+
+
+
+ scope
+ false
+ false
+
+ Scope of the declared attribute. Default to 'page'.
+ ]]>
+
+
+
+ name
+ true
+ true
+
+ Tile's attribute name.
+ ]]>
+
+
+
+ ignore
+ false
+ true
+ boolean
+
+
+ If this attribute is set to true, and the attribute specified by the name
+ does not exist, simply return without error. The default value is false, which will
+ cause a runtime exception to be thrown.
+
+ ]]>
+
+
+
+
+ importAttribute
+ org.apache.struts.tiles.taglib.ImportAttributeTag
+ empty
+
+ Import Tile's attribute in specified context.
+
Import attribute from tile to requested scope.
+ Attribute name and scope are optional. If not specified, all tile
+ attributes are imported in page scope.
+ Once imported, an attribute can be used as any other beans from jsp
+ contexts.
+ ]]>
+
+
+ name
+ false
+ true
+
+ Tile's attribute name. If not specified, all attributes are
+ imported.
+ ]]>
+
+
+
+ scope
+ false
+ false
+
+ Scope into which attribute is imported. Default to page.
+ ]]>
+
+
+
+ ignore
+ false
+ true
+ boolean
+
+ If this attribute is set to true, and the attribute specified by
+ the name does not exist, simply return without error. The default
+ value is false, which will cause a runtime exception to be thrown.
+ ]]>
+
+
+
+
+ initComponentDefinitions
+ org.apache.struts.tiles.taglib.InitDefinitionsTag
+ empty
+
+ Initialize Tile/Component definitions factory.
+
+ In order to use Tile/Component definitions factory, you need to initialize the factory.
+ This is generally done in a initializing servlet. In particular, it is done in
+ "ComponentActionServlet" if you use it.
+ If you don't initialize factory in a servlet, you can initialize it using this tag. You need
+ to provide the description file name, and optionally the factory classname.
+ Initialization is done only once, at the first call of this tag. Subsequent calls
+ are ignored (tag checks existence of the factory.
+