First thing first, its <logic:equal> not <logic:equals>. You won't want to spend hours debugging over a typo.
Next, check this link out for its API.
http://jakarta.apache.org/struts/userGuide/struts-logic.html#equal You cannot use the tag to compare 2 or more values like you can using scriptlets as you shown in your exam. That means I need to have 2 separate blocks to check that my variable is equal to value 1 or value 2.
Anyway, if you're totally fresh/new to
struts, grab a book to read up, or check out its website for tutorials.
Good luck!
<a href="http://www.java-tips.org/java-tutorials/tutorials/" target="_blank" rel="nofollow">Java Tutorials</a> | <a href="http://www.planet-java.org" target="_blank" rel="nofollow">Java Weblog</a> | <a href="http://computer-engineering.science-tips.org" target="_blank" rel="nofollow">Computing Articles</a>