• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Problem converting struts tag logic back to JSTL

 
A. Juice
Greenhorn
Posts: 2
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi,
I originally posted this in the JSP forum, but after poking around I realized it belongs in the Java Frameworks forum. Can a moderator or administrator please remove the one in the JSP forum for me? - Thanx.
Anyway...the current code I have checks for an error message using the stuts command <logic:messagesPresent> and then performs some code if an error message exists. I am trying to re-write the same logic using just JTSL and I am have been striking out(I am rather new to jsp and struts). I know that I can use <c:if> or <c:choose><c:when>, but what is availble to "test"? I tried <c:if test="${error.messages == null"}> and a couple of variations of this, but it always evaluates to null, even when errors are present.
If I have not supplied enough info, I appologize in advance. Any direction would appreciated.
Thanks in advance.
- A. Juice
(a.k.a "lost")
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic