/unsecured
RETRIEVE
/WEB-INF/page/user/unsecured/error.jsp
Can anyone see what I am doing wrong?
--
View this message in context:
http://www.nabble.com/Message-Store-Interceptor---can-not-dis
[EMAIL PROTECTED] wrote:
I am trying to display error message in JSp page using the following:
The code in my validate method is:
errors.add("invalidDate", new ActionMessage( endDate + " must be greater
than " + startDate ));
return errors;
Any clue whats wrong?
Co
creating error message. That key only should hold the error message value.
3. Finally you can retrieve the error message with the tag called no need to give the property id.
4. you have to add the error messages object in the HttpServletRequest.
[EMAIL PROTECTED] wrote: I am trying to display error
I am trying to display error message in JSp page using the following:
The code in my validate method is:
errors.add("invalidDate", new ActionMessage( endDate + " must be greater
than " + startDate ));
return errors;
Any clue whats wro
If you want to display the message from Exception.getMessage() then,
Save the exception in to request
request.setAttribute("exception", exception);
and in the jsp display it with
If you want to display a customized message for an exception, then you
should define
the mapping between exceptio
Hi
Does anybody know how I can display an error message which we got from exception? We
don't want to define an error key in resource property file. We don't consider
different Locale, only English.
Any suggestions?
Eric Zhou
-
6 matches
Mail list logo