A friendly place for programming greenhorns!
Big Moose Saloon
Register / Login
Test if an error has been thrown
Jair Rillo Junior
Joined: Aug 27, 2008
Jun 13, 2009 17:56:00
If an error is thrown (such as validation error) I'd like to do some things in the
I know I can use the tag h:messages to show up the errors message, however I'd like to do more.
I thought I could do some thing like this:
<c:if test="there is error"> //do some thing <h:messages/> </c:if>
Is it possible? How can I
if an error has been thrown?
Thanks in advice.
Regards, Jair Rillo Junior
, SCJA 1.0, SCJP 1.4, SCWCD 1.4, SCBCD 5.0, IBM SOA Associate (Test 664).
Did you see how Paul
cut 87% off of his electric heat bill with 82 watts of micro heaters
subject: Test if an error has been thrown
JSTL c:if possibilities
MVC 2.5 - Is it possible to get a 'summary' of binding errors?
Problem with c:if .. /c:if tag
JSP and String manipulation
How to call a Java method within <c:if>?
All times are in JavaRanch time: GMT-6 in summer, GMT-7 in winter
| Powered by
Copyright © 1998-2014