--
View this message in context:
http://www.nabble.com/display-a-message-tp21558466p21558466.html
Sent from the Struts - User mailing list archive at Nabble.com.
-
To unsubscribe, e-mail: user-unsubscr...@struts.apache.org
/ if they are available and if not it will check the
querystring to see if there is a parameter denoting an error such as
accountActivated=false. If accountActivated=false then the error page will
display an error message. It is done this way because I am using both HDIV
and CAS which can't add actionError
I am trying to display error message in JSp page using the following:
html:errors property=invalidDate /
The code in my validate method is:
errors.add(invalidDate, new ActionMessage( endDate + must be greater
than + startDate ));
return errors;
Any clue whats wrong?
regards,
Pankaj
Hi,
To display the error message in ur jsp you have to do 2 things.
1. you are getting the errror message with the property key. so that you have
to have a form field with the specified property id name
2. This is by default usage. you have to give the properties key id at the time
[EMAIL PROTECTED] wrote:
I am trying to display error message in JSp page using the following:
html:errors property=invalidDate /
The code in my validate method is:
errors.add(invalidDate, new ActionMessage( endDate + must be greater
than + startDate ));
return errors;
Any clue whats wrong
Hi,
I am new to struts. I have a request that, for every request I want to
display a message or log a message using struts frame work. How this could
achieve. Please help in this regard
Thanks and Regards
Srinivas Vakkalanka
Srinivas Vakkalanka on 08/05/06 11:32, wrote:
Hi,
I am new to struts. I have a request that, for every request I want to
display a message or log a message using struts frame work. How this could
achieve. Please help in this regard
Hi Srinivas,
your requirement would normally be implemented
()
-ed
On 5/8/06, Adam Hardy [EMAIL PROTECTED] wrote:
Srinivas Vakkalanka on 08/05/06 11:32, wrote:
Hi,
I am new to struts. I have a request that, for every request I want to
display a message or log a message using struts frame work. How this could
achieve. Please help in this regard
Hi
() method would
call super.execute()
-ed
On 5/8/06, Adam Hardy [EMAIL PROTECTED] wrote:
Srinivas Vakkalanka on 08/05/06 11:32, wrote:
Hi,
I am new to struts. I have a request that, for every request I want to
display a message or log a message using struts frame work. How this could
to
display a message or log a message using struts frame work. How this
could
achieve. Please help in this regard
Hi Srinivas,
your requirement would normally be implemented using your logging
component (commons-logging would be a good first choice). You code
against the logging API
10 matches
Mail list logo