Skip to Main Content

Java Programming

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

Struts logic:equal tag

807607Jun 20 2006 — edited Jan 25 2007
Hello sir,
i am new to struts, i found that we can use <logic:equal > tag for logical comparisons, like
<logic:equal parameter="From" value="one" /> like that.
Here can i specify multiple value for comparison ?
eg: String from =request.parameter("From");
if(from.equals("one") || from.equal("two")){
..do something
}
how can we represent this by using struts logic tag ? will it possible to represent using single logic:equal tag?
thanks in advance
Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Feb 22 2007
Added on Jun 20 2006
4 comments
498 views