Which version of commons-validator are you using.
I'm using Struts 1.2.8 and commons-validator 1.2.0, it validate only the
non disabled field.
Extracted from commons-validator.jar :
function validateRequired(form) {
var isValid = true;
var focusField = nu
Maybe it happens when the error is not thrown by Struts, so try to use
the JSP directive <%@ page isErrorPage="true" %> which give you access
to the implicit variable exception.
You can also use a exception handler :
package com.ddd;
public class GlobalExceptionHandler extends ExceptionHand
fter the response has been committed or
something similar, the problem is that (at least some of) the response
has already been sent when the error occurs.
You may be able to work around that by (a) making sure you use
flush=false everywhere and (b) increasing the size of the response
buffer.
d.java:534)
If I use the <%@ page errorPage ..., the tiles bloc which fails is
replaced by the content of error.jsp but not the user is not redirected.
Any idea ?
Vladislav Pernin
Vladislav Pernin wrote:
I just found in the 1.2.4 release note that this has been resolved. So
I'm going
I just found in the 1.2.4 release note that this has been resolved. So
I'm going to take a look at 1.2.4 migration.
Vladislav Pernin
Vladislav Pernin wrote:
Hi all,
I'm working in an Struts-1.1 tiles environment and I need to be able
to redirect user on a JSP error page when
g, and
my JSP error page is called with both solutions (error-page in web.xml
and directive errorPage in JSP).
Maybe the response is commited before the exception is thrown ?
The web gave me some directions, I tried all of them without any
success. So if yo
6 matches
Mail list logo