Webcam Chat QuickBooks Advice international calling cards international phone cards
JavaBeat Java Books Certifications Certifications Kits Articles Tutorials Tips QNA Book Store Interview Questions SCJP 1.5 SCJP 1.6 SCWCD 5.0 SCBCD 5.0 SCEA SCJA Feeds
Struts LOGIC messagesPresent and messagesNotPresent Tag ( < logic:messagesPresent > and < logic:messagesNotPresent >)
Author : AbhilashEtikala
Date : Tue Oct 19th, 2010
logic:messagesPresent -This tag is used if an ActionMessages object, ActionErrors object, a String, or a String array is present in any scope the nested body content of this tag is evaluated. logic:messagesNotPresent - This tag is used if an ActionMessages object, ActionErrors object, a String, or a String array is not present in any scope the nested body content of this tag is evaluated. By default both the tags will retrieve the bean it will iterate over from the Globals.ERROR_KEY constant string, but if message attribute is set to 'true' the bean will be retrieved from the Globals.MESSAGE_KEY constant string.If message attribute is set to true, any value assigned to the name attribute will be ignored.

Struts LOGIC match and notMatch Tag ( < logic:match > and < logic:notMatch >)
Author : AbhilashEtikala
Date : Mon Oct 18th, 2010
logic:match -This tag matches the selector attributes(String) by specified constant variable.If the value is a substring (appropriately limited by the location attribute), the nested body content of this tag is evaluated logic:notMatch - This tag macthes between the selector attributes(String) by specified constant variable. If the value is not a substring (appropriately limited by the location attribute), the nested body content of this tag is evaluated.

Struts LOGIC Equal and notEqual Tag ( < logic:equal > and < logic:notEqual >)
Author : AbhilashEtikala
Date : Sat Oct 16th, 2010
logic:equal -This tag compares between the selector attributes and the specified constant variable.If the variable and specified value are equal then the nested content of this tag is evaluated. logic:notEqual - This tag compares between the selector attributes and the specified constant variable.If the variable and the spcified value are not equal then the nested content of this tag is evaluated.

Struts LOGIC Iterate Tag ( <logic:iterate> )
Author : AbhilashEtikala
Date : Sat Oct 16th, 2010
logic:iterate-This tag repeats the nested body content of this tag once for every element of the specified collection, which must be an Iterator or a Collection or a Map (whose values are to be iterated over), or an array. The collection to be iterated must be specified in any of the form like a runtime expression spcified as the value of the collection attribute,as Jsp bean spcified by the name attribute or as the property, specified by the property, of the JSP bean specified by the name attribute

Struts LOGIC present and notPresent Tag ( <logic:present> and <logic:notPresent>)
Author : AbhilashEtikala
Date : Tue Oct 12th, 2010
logic:present -This tag checks in the current request depending upon the attribuite specified if the specified value is present the nested content of this tag is evaluated. logic:notPresent - This tag checks in the current request depending upon the attribuite specified if the specified value is not present the nested content of this tag is evaluated.

Struts LOGIC lessEqual and lessThan Tag ( < logic:lessEqual > and < logic:lessThan >)
Author : AbhilashEtikala
Date : Tue Oct 12th, 2010
logic:lessEqual -This tag compares between the selector attributes and the specified constant variable.If the variable is less than or equal the content the nested content of this tag is evaluated. logic:lessThan - This tag compares between the selector attributes and the specified constant variable.If the variable is less than the content the nested content of this tag is evaluated.

Struts LOGIC greaterEqual and greaterThan Tag ( <logic:greaterEqual> and <logic:greaterThan>)
Author : AbhilashEtikala
Date : Tue Oct 12th, 2010
logic:greaterEqual -This tag compares between the selector attributes and the specified constant variable.If the variable is greater than or equal the content the nested content of this tag is evaluated. logic:lessThan - This tag compares between the selector attributes and the specified constant variable.If the variable is greater than the content the nested content of this tag is evaluated.

Struts BEAN Resource Tag ( < bean:resource >)
Author : AbhilashEtikala
Date : Sun Oct 3rd, 2010
bean:resource - It is used to load a web application resource and make it available as a bean. Retrieves the value of the specified web application resource and make it available as Input Stream or String depending on the input attribute value.

Struts BEAN Size and Header Tag ( < bean:size > and < bean:header >)
Author : AbhilashEtikala
Date : Sun Oct 3rd, 2010
bean:size -This tag defines a new bean containing the number of elements in the specified Collection or Map.Collection size can be counted in any way as a runtime expression specified as the value of the collection attribute or by JSP bean specified by the name attribute or as specified by property of the bean by the property attribute with respect to given name attribute. bean:header - It is used to define a scripting variable based on the values of the specified request header. It retrieves the specified request header and define the result as the page scope attribute of type String or String[]

Struts BEAN Cookie Tag ( < bean:cookie >)
Author : AbhilashEtikala
Date : Sat Oct 2nd, 2010
bean:cookie -It is used to define a scripting variable based on the value(s) of the specified request cookie. It retrieves the value of the specified cookie (single or multiple) and define the result as a page scope attribute of type cookie or cookie[] if multiple are specified.


JavaBeat Website (2004-2011), India
javabeat | advertise | about us | contact | useful resources
Copyright (2004 - 2011), JavaBeat


Technology Blogs
Technology blogs Technology Blogs
blog log