Hi,

Does simple <html:errors/> with no property specified works for you ?
Cause I get a similar problem - using same Java code in JSP display the fields with errors, but <html:errors/> does nothing.

Thanks.

Vincent.

Song Wang wrote:
Hello everyone,

I cannot display <html:errors property="blah"/>, but if I add

<%
ActionErrors ae = ( ActionErrors) request.getAttribute( Action.ERROR_KEY);
boolean err = false;
if( ae != null) {
         Iterator iter = ae.properties();
         while(iter.hasNext()){
System.out.println((String)iter.next()); }
}
%>

I can see that "blah" is printed out. That being said, the errors does hold the 
value. Does anyone know where I should configure? Or how to check if the value is an 
empty string? I'm using WSAD 5.1.

Thanks.
Song


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to