• Post Reply Bookmark Topic Watch Topic
  • New Topic

Problem attempting to converts struts tag back into JSTL  RSS feed

Posts: 2
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Boost this thread!