Forum

Number Of Page View:100,000+/Months
LOGIN |New User

Reply

What is the use of <logic:match/> and <logic:notMatch/> tag defined by Logic tag library in Struts framework?
The <logic:match/> tag evaluates its body if the variable specified by any one of the attributes cookie, header, name, parameter, or property attributes contains the specified contant value. The <logic:match/> tag has a body type of JSP and supports eight attributes:
value, location, cookie, header, name, property, parameter, scope.

The <logic:notMatch/> tag evaluates its body if the variable specified by any one of the attributes cookie, header, name, parameter, or property does not contain the specified contant value attribute. The <logic:notMatch/> tag has a body type of JSP and supports eight attributes:
value, location, cookie, header, name, property, parameter, scope.