• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

Problem converting struts tag logic back to JSTL

 
Greenhorn
Posts: 2
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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")
 
reply
    Bookmark Topic Watch Topic
  • New Topic