Look here:
http://jakarta.apache.org/struts/userGuide/struts-logic.html#greaterThan

Here is an example using "equal":


<logic:equal value="aaa" parameter="option"> aaa=aaa <br> </logic:equal> <logic:notEqual value="aaa" parameter="option"> aaa!=aaa <br> </logic:notEqual> <hr> <% String option = request.getParameter("option"); if (option == null) { out.println("JSP:aaa=null");} else if (option.equals("aaa")) { out.println("JSP:aaa=aaa");} else { out.println("JSP:aaa!=aaa");} %>


[EMAIL PROTECTED] wrote:


hello,

i want to compare 2 propertys with struts.

is it possible with struts-syntax ?
<logic:greaterThen ...>

or i have to use jsp ?


Mit freundlichen Gr��en


Christian Reps, Dipl. Inf. (FH)
Web Applications


--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]




---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Reply via email to