What is logic match tag? - DHTML

What is logic match tag?

Logic match tag is an evaluator which checks the nested body content of tag whether the specified value is an appropriate substring of the requested variable. Matches the variable specified by one of the selector attributes against the specified constant value. If the value is a substring the nested body content of this tag is evaluated.

Or in other words are used to control the generation of page output by allowing conditions to be tested, loops to be set up and application flow to be directed to other pages. A comparison will often involve a bean created with one of the bean tags.

For Example:
<logic: match header="User-Agent" value="Mozilla"> Hi Mozilla browser </logic: match>
What is the necessity of empty tag? - DHTML
What is the necessity of empty tag? - The first foremost good thing to notice about empty tag is that they need not to be closed.......
Struts dispatch action in DHTML
Struts dispatch action in DHTML - DispatchAction is an action that comes with Struts 1.1 or later, that let us combine Struts actions into single class, each with their own method.......
How to upload struts file in DHTML?
How to upload struts file in DHTML? - The interface org.apache.struts.upload.FormFile is used for the struts file upload application. This interface represents a file that has been uploaded by a client.......
Post your comment