1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21 package org.apache.struts.taglib.logic;
22
23 import javax.servlet.jsp.JspException;
24
25 /**
26 * Evaluate the nested body content of this tag if the specified variable is
27 * less than the specified value.
28 *
29 * @version $Rev: 471754 $ $Date: 2004-10-16 12:38:42 -0400 (Sat, 16 Oct 2004)
30 * $
31 */
32 public class LessThanTag extends CompareTagBase {
33 /**
34 * Evaluate the condition that is being tested by this particular tag, and
35 * return <code>true</code> if the nested body content of this tag should
36 * be evaluated, or <code>false</code> if it should be skipped. This
37 * method must be implemented by concrete subclasses.
38 *
39 * @throws JspException if a JSP exception occurs
40 */
41 protected boolean condition()
42 throws JspException {
43 return (condition(-1, -1));
44 }
45 }