Logic Present Tag (…)

present tag -This tag evaluates its nested body contents if the specified value is present in the request. This tag checks the current request and depending on which attribute is specified, it evaluates the nested body content of this tag only if the specified value is present.  Attributes of Present Tag Attribute Name Description cookie […]

Logic Match Tag (…)

match tag – We use this tag to evaluate the contents contained in the nested body parts of this tag if the specified value is an appropriate substring of the requested variable. This tag matches the variable specified as a String against the specified constant value. If the value is a substring  then the nested […]

Logic LessEqual Tag (…)

lessEqual Tag – If the requested variable is either less or equal to the specified values then we use this tag to evaluate the contents contained in the nested body parts of this tag. This tag compares the variable against the specified constant value. If the variable is less than or equal to the specified value […]

Logic greaterEqual Tag (… )

empty tag – if the requested variable is greater than or equal to the specified value then this tag is used to evaluate the contents contained in the nested body parts of this tag. This tag compares the variable against the specified constant value. If the variable is greater than or equal to the specified value […]

Logic Equal Tag (…)

equal tag – if the requested variable is equal to the specified value then this tag is used to evaluate the contents contained in the nested body parts of this tag. Compares the variable passed against the specified constant value. The nested body content of this tag is evaluated if the variable and value are equal. […]

Logic Empty Tag (…)

empty tag – If the requested variable is either null or an empty string then we use this tag to evaluate the contents contained in the nested body parts of this tag. Tag evaluation of the nested body content occurs only if the specified value is either absent (i.e. null), an empty string (i.e. a java.lang.String […]

Struts Logic Tags: An Introduction

Struts logic tags are conditional tags that replaces scriptlets in the jsp files. This tag library contains tags that do the following things :    conditional generation of the output text,    generate iterations to output the text,    application flow management,    matching strings and substrings… Logic tags available in the Struts Framework Tag Name Description empty  If […]

Struts Logic Tags

Struts Logic Tags examples. Introduction to Struts Logic TagsStruts logic tags are conditional tags that replaces scriptlets in the jsp files.  Logic Empty and notEmpty TagsTag evaluation of the nested body content occurs 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)   Logic […]

Struts nested tag Example

The tag library 忛ested?is included in Struts 1.1. In this tutorial we are going to explain what are the features of nested tag library and how you can use it. We can manage nested beans easily with the help of struts nested tag library.  Nested tags are used in the nested context. The Nested tags […]

Developing Struts PlugIn

This article shows you how to develop custom Struts PlugIn and incorporate in your Struts Web Applications. After completing this tutorial you will be able to create your own custom PlugIn for your web application. Struts PlugIn allows the programmer to enhance their web applications. There are many PlugIns available for struts e.g. Struts Tiles […]