You can't nest tags this way:
<logic:equal name="<bean:write name="PROJECT" property="statusCode"/>" value="<bean:write name="codebean" property="id"/>">
Use a JSP runtime expression instead. You might also want to try using JSTL instead of the logic tags. They're much easier to learn, write, and read, IMO.
Third, IMO, filtering the items in the collection at the JSP level is a poor design choice.
You should filter the collection items in the
Java code before displaying the JSP. That way, you won't have to put all that iteration/test logic in your JSP.
Lastly, if you're going to filter the items in the collection, then why present it as an option? A select list with just one option doesn't make sense to me.