Two Laptop Bag*
The moose likes Struts and the fly likes Problem converting struts tag logic back to JSTL Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Frameworks » Struts
Bookmark "Problem converting struts tag logic back to JSTL" Watch "Problem converting struts tag logic back to JSTL" New topic
Author

Problem converting struts tag logic back to JSTL

A. Juice
Greenhorn

Joined: Jun 16, 2003
Posts: 2
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")
 
 
subject: Problem converting struts tag logic back to JSTL
 
Similar Threads
Problem with nested c:forEach
JSP Struts/JSTL Form problem
JSLT EL display session attribute
Problem attempting to converts struts tag back into JSTL
JSP taking long time to load