log
level. This suppresses the INFO and DEBUG log messages for these packages.
# Usage: Specifies the configuration properties for log4j.
#
# Notes: This properties file should be placed somewhere
#inside the WEB-INF/classes directory.
# Create two appenders, one called stdout and the
Subject: RE: Questions about debug and info messages
Thanks for the advice, but I'm using log4j. The API doc you to which you
linked doesn't offer much help. I hacked a solution by setting the message
level on the struts logger to "warning" in one of my servlet's init met
tting (like a parameter to the Action
servlet?) that will set the message level.
-Original Message-
From: Pady Srinivasan [mailto:[EMAIL PROTECTED]
Sent: Tuesday, March 23, 2004 8:21 AM
To: Struts Users Mailing List
Subject: RE: Questions about debug and info messages
If you are using JDK
used to turn off logging, and a level ALL that can be used to
enable logging of all messages.
I haven't used log4j. Here is the struts docs:
http://jakarta.apache.org/commons/logging/api/org/apache/commons/logging/pac
kage-summary.html#package_description
Thanks
-- pady
[EMAIL PROT
We have a torrent of debug and info messages coming out of struts. I can't
find any documentation about how to turn them off. Two questions:
1. How do I turn off debug and info level messages?
2. Where is that documented?
Thanks,
Eric H
You're right. I should have said that you can use any number of parameters
up to four.
-Original Message-
From: Brendan Richards [mailto:[EMAIL PROTECTED]
Sent: Thursday, March 18, 2004 9:52 AM
To: Struts Users Mailing List
Subject: RE: Dynamic Messages
>>You could h
ebe de Jong [mailto:[EMAIL PROTECTED]
Sent: 18 March 2004 17:37
To: 'Struts Users Mailing List'
Subject: RE: Dynamic Messages
Messages from your resource file can have parameters.
Resource file:
user.added={0} successfully added
Action:
errors.add(ActionErrors.GLOBAL_ERROR,
Messages from your resource file can have parameters.
Resource file:
user.added={0} successfully added
Action:
errors.add(ActionErrors.GLOBAL_ERROR,
new ActionError("user.added", bean.name));
messages.add(ActionMessages.GLOBAL_MESSAGE,
new ActionMessage("user.added"
Hey,
Can ActionMessages/ActionErrors be created dynamically or do they always
need to read from a resource file.
I would like a more meaningful message shown when something is added to the
DB, like instead of "Client successfully added" I would like "Joe Bloggs
details have been added". Can
a resource bundle for each area of my site:
(struts-config.xml)
Each resources bundle has a copy of the basic default error messages
like:
errors.required={0} is required.
I have validations like this:
And display the error messages like
MAIL PROTECTED]>
Sent: Monday, March 01, 2004 10:16 AM
Subject: replacing messages tag with fmt tag - can both exist at 1x?
> does anyone have the messages tag working in the same application as the
fmt
> tag using the fmt tag for displaying messages in some pages and messages
for
> oth
does anyone have the messages tag working in the same application as the fmt
tag using the fmt tag for displaying messages in some pages and messages for
other pages? can you implement both at once?
-
To unsubscribe, e-mail
> -Message d'origine-
> De : Wendy Smoak [mailto:[EMAIL PROTECTED]
> Envoyé : mardi 17 février 2004 16:06
> À : Struts Users Mailing List
> Objet : [SPAM] - RE: Retrieving messages from resource bundle
>
>
> > From: Vinicius Carvalho [mailto
> From: Vinicius Carvalho [mailto:[EMAIL PROTECTED]
> Hi there! I know I can retrieve messages using the
> tag. But
> I need to put it inside another third party tag, so It's not
> working, I
> tried to use but did
> not work. Any
> other way? How do I access
Hi there! I know I can retrieve messages using the tag. But
I need to put it inside another third party tag, so It's not working, I
tried to use but did not work. Any
other way? How do I access it using scriptlets?
don't get that annoying "Re-post form?" box when
they refresh, and I'm not chaining actions that do different things.
Not sure if it matters to you, but the last guy who asked for it (Manjunath)
needed several error messages with their property names preserved. I didn't
n
Ya I'd be interested to see your code if at all possible =)
Thanks,
David
- Original Message -
From: "Hubert Rabago" <[EMAIL PROTECTED]>
To: "Struts Users Mailing List" <[EMAIL PROTECTED]>
Sent: Monday, February 09, 2004 7:49 PM
Subject: Re: Persistin
Hello All,
I am using validation framework for the validations on the page.
When i click on submit button, it shows me the validations(required
messages) which are required, That's what it is suppose to do. But
unfortunately after clicking on the ok button on the javascript popup
window
At 1:55 PM -0700 2/10/04, Wendy Smoak wrote:
I added a page to the FAQ section:
http://nagoya.apache.org/wiki/apachewiki.cgi?StrutsDeprecatedActionErrors
It has the code I posted yesterday, which I still am not sure is the
officially correct way to handle errors in 1.2. Can someone take a look
and
I added a page to the FAQ section:
http://nagoya.apache.org/wiki/apachewiki.cgi?StrutsDeprecatedActionError
s
It has the code I posted yesterday, which I still am not sure is the
officially correct way to handle errors in 1.2. Can someone take a look
and either fix it or approve of it? (And pos
, February 10, 2004 9:36 PM
To: Struts Users Mailing List
Subject: RE: Errors or messages or??
Yeah, that's excellent.
It looks like there is at least one add-in package that has a
dependency. Though it sounds like an easy fix, does it make sense for a
developer to try to remove ActionErrors
> Not sure if you're just venting, or looking for a solution,
> but... you can install the struts-documentation.war that came
> with the Struts 1.1 binary distribution, and then you'll have
> the documentation that goes with the release you're using.
Thank you! I hadn't found that.
--
Tim Slat
> Tim Slattery
> It really bugs me that the javadoc and (apparently) the tag
> docs at the web site describe the "nightly build" version and
> not the stable, released version.
Not sure if you're just venting, or looking for a solution, but... you
can install the struts-documentation.war that c
s 1.2?
Dave
> -Original Message-
> From: Matthias Wessendorf [mailto:[EMAIL PROTECTED]
> Sent: Tuesday, February 10, 2004 2:14 PM
> To: 'Struts Users Mailing List'
> Subject: RE: Errors or messages or??
>
> Hi Dave,
>
> in http://jakarta.apache.org
, Errors "alives"
in validate():Errors
and inside the Validator-Frameworks
validate(), (for initializing the commons_validator)
but Validator Classes (fiedChecks) uses Messages.
Perhaps you wanted infos like this,
cheers,
matthias
-Original Message-
From: Durham David Contr 805
> I for one think that a lot of this is guilding the lily and is counter
> productive.
I think that you meant *gilding* the lily or even painting the lily.
I'm actually interested in this topic. Is there some existing
documentation about the removal of ActionErrors and ways to deal with
its re
ere's no
saveErrors(request, actionMessages) just yet.
Then there's no point in converting any ActionError or ActionErrors usage to
ActionMessage or ActionMessages yet, since you can't send it to the JSP page
in such a way that the tag can find the error messages.
Sounds like I&
> the naming was that everything "messages" is a new, more generalized
> approach to everything which was "errors" -- the classes in
> o.a.s.action and the tag library classes. Since ActionMessages was
> created as a super class of ActionErrors, backwards compat
ionErrors usage to
ActionMessage or ActionMessages yet, since you can't send it to the JSP page
in such a way that the tag can find the error messages.
Sounds like I've been wasting my time.
ActionErrors extends ActionMessages, even in Struts 1.1
http://cvs.apache.org/viewcvs.cgi/*checkout*/
ges yet, since you can't send it to the JSP page
in such a way that the tag can find the error messages.
Sounds like I've been wasting my time.
--
Tim Slattery
[EMAIL PROTECTED]
-
To unsubscribe, e-mail: [EMAIL PROTECTE
On 10 Feb 2004, at 17:10, Slattery, Tim - BLS wrote:
>
> >> With Struts 1.1, we have support for both error messages and
> >> non-error messages. We use saveMessages() for non-error and
> >> saveErrors() for error messages. In our JSPs, we can use the
> >>
I was in the same boat, thinking that html:errors tag was up for
deprecation, but no. Just ActionErrors are, ActionMessages can be
rendered using html:errors.
On 10 Feb 2004, at 17:10, Slattery, Tim - BLS wrote:
With Struts 1.1, we have support for both error messages and
non-error messages
> With Struts 1.1, we have support for both error messages and
> non-error messages. We use saveMessages() for non-error and
> saveErrors() for error messages. In our JSPs, we can use the
> tag to display them:
OK, that helps. But can you tell me why I can't use s
With Struts 1.1, we have support for both error messages and non-error
messages. We use saveMessages() for non-error and saveErrors() for error
messages. In our JSPs, we can use the tag to display them:
The tag gives access to
t, it shows a saveMessages method. The
description says:
Save the specified messages keys into the appropriate request attribute for
use by the tag (if messages="true" is set), if any messages
are required. Otherwise, ensure that the request attribute is not created.
What's this
ErrorsTag to lookup ActionErrors in session before trying
to lookup in request.
Saludos.
Guillermo.
-Original Message-
From: Hubert Rabago [mailto:[EMAIL PROTECTED]
Sent: Lunes, 09 de Febrero de 2004 11:49 p.m.
To: Struts Users Mailing List
Subject: Re: Persisting Messages/Errors when redirect
There's no built-in support for this at the moment. I add code to my
projects to add that support. I can share the code with you if you want.
- Hubert
--- David Erickson <[EMAIL PROTECTED]> wrote:
> Is it possible to persist Messages/Errors around your site through the
> req
Is it possible to persist Messages/Errors around your site through the
request when setting redirect="true" on an action mapping? An example I
have right now is I have a delete action that forwards to a listContacts.do
action on success.. however its persisting url parameters from
Users Mailing List
Subject: Re: messages/errors 2 form's 1 page
Thanks for the response.
No they don't..
They're completely different forms, with different actions.
Looks like going down the TileAction route.
On 4 Feb 2004, at 16:43, Saul Q Yuan wrote:
> Do the two action
to use two separate form beans, see how it goes.
Saul
-Original Message-
From: Mark Lowe [mailto:[EMAIL PROTECTED]
Sent: Wednesday, February 04, 2004 8:52 AM
To: Struts Users Mailing List
Subject: messages/errors 2 form's 1 page
Hello
I'm sure this has been answered before but
Subject: messages/errors 2 form's 1 page
Hello
I'm sure this has been answered before but I'm sick of googling for the
answer.
Using tiles I've 2 forms in one page.
Now both forms have some properties with the same names e.g.
..
When
Hello
I'm sure this has been answered before but I'm sick of googling for the
answer.
Using tiles I've 2 forms in one page.
Now both forms have some properties with the same names e.g.
..
When i submit either form the errors are displayed in both forms
> As long as the error message is set up as I said the validation framework
> should put the field name at the start of the message... But not the
> value in the field.
>
> so in your example below you might get an error message like;
>
> Email address is a required field
>
[[SMG]] Yeah, that
iling List'
Subject: RE: Validation error messages
Thanks Steve,
That's what I'm doing when I implement my own custom validation routines,
but what about the standard Struts validation rules (which are implemented
declaratively), so you don't explicitly create any ActionErr
Sent: 02 February 2004 15:49
To: 'Struts Users Mailing List'
Subject: RE: Validation error messages
in the resource file where the error message is defined use {0} to
parametize it.
eg
address.invalid=Address {0} is not a valid email address.
When you construct the actionError add the
--Original Message-
From: Glenn, Scott [mailto:[EMAIL PROTECTED]
Sent: 02 February 2004 14:45
To: 'Struts Users Mailing List'
Subject: Validation error messages
I might be missing something obvious here, but is there an easy way to get
the submitted value to become part of the your err
I might be missing something obvious here, but is there an easy way to get the
submitted value to become part of the your error message?
So, for example, if the user enters "abc" in an email field, I'd like a message saying
:-
Address "abc" is not a valid email address.
I can get this
From: Axel Wilhelm Berle [mailto:[EMAIL PROTECTED]
Sent: Saturday, January 31, 2004 1:04 PM
To: [EMAIL PROTECTED]
Subject: Detect messages with Jstl
Hi everybody!
I am experimenting with the tags of
Struts 1.1. My problem is that I need to discover if
there are any messages. Of course, there is t
Hi everybody!
I am experimenting with the tags of
Struts 1.1. My problem is that I need to discover if
there are any messages. Of course, there is the
tag, but I am trying to avoid
the logic tag library. So my question is: What would
be the elegant way to discover the presence of
messages using
Dear Sir / Madam,Thank you for writing to [EMAIL PROTECTED] We confirm receipt of your
mail and assure you of a response shortly.To help us serve you better, we would
request you to kindly mention your account number or any reference number you may have
in your future correspondence. Kindly vis
Hi,
Does any one know how to display individual error messages created via the
validator or my actions using jstl?
I guess its along the lines of the above but i am missing something?
cant seems to find the answer to this one on the archives?
thanks
Andy
rs.header=alert(
> errors.footer='');
>
> general.validate.date='A Date if given must be a valid Date in the
> format {0}!\\n' +
>
> Note the apostrophes and the plus sign, so that a whole series of error
> messages would pop up only in one alert.
>
> This
Dirk,
I used that on my last project. In my resource bundle I had the following:
errors.header=alert(
errors.footer='');
general.validate.date='A Date if given must be a valid Date in the
format {0}!\\n' +
Note the apostrophes and the plus sign, so that a whole series of e
;)
</html:message>
any idea?
Dirk
-Ursprüngliche Nachricht-
Von: Martin Gainty [mailto:[EMAIL PROTECTED]
Gesendet: Donnerstag, 22. Januar 2004 15:21
An: Struts Users Mailing List; [EMAIL PROTECTED]
Betreff: Re: how to show error messages in a pop up window?
Dirk-
did you look at javas
Dirk-
did you look at javascript alert?
viel Glueck,
-Martin
- Original Message -
From: "Dirk Manske (Service Respond)" <[EMAIL PROTECTED]>
To: "'Struts Users Mailing List'" <[EMAIL PROTECTED]>
Sent: Thursday, January 22, 2004 9:10 AM
Subject: how
Hi,
I would like to display error messages in a popup window instead of the
actual form page.
Something like if is true, pop up a window and show
the error messages.
Has anyone done something similar to this and could show me an example?
Thx,
Dirk
Hello Vinicius,
Monday, January 19, 2004, 7:02:55 PM, you wrote:
VC> Couldn't see your technique
.. try to read the email in plain-text instead of in HTML. The tags
might be interpreted in undisplayable HTML tags.
-Foux
--
Couldn't see your technique
At 11:05 19/1/2004, you wrote:
Hello Vinicius,
Monday, January 19, 2004, 11:29:19 AM, you wrote:
VC> Hi there! Is there another way to present the messages or erros dropped by
VC> ActionMessages/ActionErrors, besides the
VC> / ?
VC> Like a ?
Hello Vinicius,
Monday, January 19, 2004, 11:29:19 AM, you wrote:
VC> Hi there! Is there another way to present the messages or erros dropped by
VC> ActionMessages/ActionErrors, besides the
VC> / ?
VC> Like a ? If so, what's the name of the bean?
VC> Thanks
VC> Vinicius
Hi there! Is there another way to present the messages or erros dropped by
ActionMessages/ActionErrors, besides the / ?
Like a ? If so, what's the name of the bean?
Thanks
Vinicius
-
To unsubscribe, e-mail: [EMAIL PROT
iginal Message-
> From: bort [mailto:[EMAIL PROTECTED]
> Sent: Tuesday, January 06, 2004 11:48 AM
> To: [EMAIL PROTECTED]
> Subject: Displaying messages as a result of failure
>
>
> Hi all
>
> How do I present, to the user, customized messages in the case of an
Action
ActionMessages, saveMessages and getResources oh my!
Back in the primordial ooze of Struts pre-1.1, people liked ActionErrors.
They started using them for tasks for which they were never intended. People
started using ActionErrors as a general-purpose way to display i18n-enabled
dynamic messages
.com/consulting.htm#StrutsMentoring
-Original Message-
From: bort [mailto:[EMAIL PROTECTED]
Sent: Tuesday, January 06, 2004 11:48 AM
To: [EMAIL PROTECTED]
Subject: Displaying messages as a result of failure
Hi all
How do I present, to the user, customized messages in the case of an Action
fail
any of the excellent Struts books out there from
O'Reilly or Manning.
Tin
"bort" <[EMAIL PROTECTED]> wrote in message
news:[EMAIL PROTECTED]
> Hi all
>
> How do I present, to the user, customized messages in the case of an
Action
> failure? For example, say a us
2004 11:41:08 +0530
"Mohan Radhakrishnan" <[EMAIL PROTECTED]> wrote:
I just use ActionErrors for everything but I am guessing that it is
html:errors for errors
and html:messages for messages.
Mohan
-Original Message-
From: Otávio Augusto [mailto:[EMAIL PROTECTED]
Sent: We
That means there is an ActionMessages ?
Otávio Augusto
On Wed, 7 Jan 2004 11:41:08 +0530
"Mohan Radhakrishnan" <[EMAIL PROTECTED]> wrote:
> I just use ActionErrors for everything but I am guessing that it is
> html:errors for errors
> and html:messages
I just use ActionErrors for everything but I am guessing that it is
html:errors for errors
and html:messages for messages.
Mohan
-Original Message-
From: Otávio Augusto [mailto:[EMAIL PROTECTED]
Sent: Wednesday, January 07, 2004 11:17 AM
To: [EMAIL PROTECTED]
Subject: messages
I'm
EMAIL PROTECTED]>
07/01/2004 02:47 AM
Please respond to "Struts Users Mailing List"
To: [EMAIL PROTECTED]
cc:
Subject: messages
I'm able to send error messages to my jsp whenever needed. but how to i
send confirmation messages (for instance
I'm able to send error messages to my jsp whenever needed. but how to i send
confirmation messages (for instance "Your mail has been sent") ? is there a way
similar to the ActionErrors method?
thanks
Otávio Augusto
-
Hi all
How do I present, to the user, customized messages in the case of an Action
failure? For example, say a user fills and submits a form. The form gets
validated, and control is passed onto the Action. From within the action,
we have a "success" and "failure" forwar
gt;
>
>
> -Original Message-
> From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]
> Sent: Thursday, January 01, 2004 5:04 AM
> To: [EMAIL PROTECTED]
> Subject: logic:messagesPresent do not show messages
>
>
> Hi, happy new year to all struts user.
>
>
ge-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]
Sent: Thursday, January 01, 2004 5:04 AM
To: [EMAIL PROTECTED]
Subject: logic:messagesPresent do not show messages
Hi, happy new year to all struts user.
I use struts 1.1 and use the ActionMessages for displaying messages (like
'successful
Hi, happy new year to all struts user.
I use struts 1.1 and use the ActionMessages for displaying messages (like 'successfull
updatet, and so on)
In my ActionClass i have this:
[CODE]
ActionMessages messages = new ActionMessages();
messages.add("msg01", ne
Users Mailing List
Subject: RE: formatting messages
> From: Menke, John [mailto:[EMAIL PROTECTED]
> it seems that when i do this
> custom.message=value I want bold {0}
> i don't get the tags written correctly.
I use this with no problems:
error.record.locked=Unfortunately, {0} rec
> From: Menke, John [mailto:[EMAIL PROTECTED]
> it seems that when i do this
> custom.message=value I want bold {0}
> i don't get the tags written correctly.
I use this with no problems:
error.record.locked=Unfortunately, {0} record {1} is locked by
another user, and the system was unable to sav
EMAIL PROTECTED]
Sent: Friday, December 19, 2003 11:16 AM
To: Struts Users Mailing List
Subject: RE: formatting messages
> From: Menke, John [mailto:[EMAIL PROTECTED]
> Can I format messages with html in my message resources file?
> I have a
> message that i would certain parts
> From: Menke, John [mailto:[EMAIL PROTECTED]
> Can I format messages with html in my message resources file?
> I have a
> message that i would certain parts of displayed bold. Can I do this?
Sure, look at the struts-example webapp, specifically the error
messages:
error.usern
Can I format messages with html in my message resources file? I have a
message that i would certain parts of displayed bold. Can I do this?
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL
-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]
Sent: Thursday, December 18, 2003 3:32 PM
To: Struts Users Mailing List
Subject: RE: Disable INFO Log messages in struts
Any suggestions this is not working to remove struts INFO messages
# Set root category priority to DEBUG and set its only
Any suggestions this is not working to remove struts INFO messages
# Set root category priority to DEBUG and set its only appender to A1
log4j.rootCategory=ERROR, A1
# A1 is set to be a ConsoleAppender (writes to system console).
log4j.appender.A1=org.apache.log4j.ConsoleAppender
# A1 uses
In Log4J properties file you can add this lines
#
#
# Print only messages of level WARN or above in the package struts
#
#
#log4j.logger.org.apache.struts.action.RequestProcessor
ropriately depending on how
your root logger is defined.
-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]
Sent: Thursday, December 18, 2003 3:01 PM
To: [EMAIL PROTECTED]
Subject: Disable INFO Log messages in struts
I have set DEBUG to Zero in the action init parms.
I have set DEBUG to Zero in the action init parms.
I am still getting too many INFO messages from struts
INFO util.PropertyMessageResources - Initializing,
config='org.apache.struts.taglib.html.LocalStrings', returnNull=true
I am using a commons-logging.properties file which p
Has a Struts application been built to handle
send/view personal mail messages using JavaMail?
If the answer is "yes", please provide information how
to contact the developer of the application.
__
Do you Yahoo!?
New Yahoo! Photos - easier uploading a
Frank,
Please disregard the last message. I wasn't paying attention and was
looking at the Struts 1.0 docs instead of Struts 1.1.
If you are using ActionMessages, then in your action, you'd have something
like this:
ActionMessages messages = new ActionMessages();
ActionMessage
Frank,
I believe you want to use the tag. There isn't an
tag.
-Richard
At 06:18 PM 12/5/2003, you wrote:
The messages tag supposed to display all the messages automatically ?
When I place this on the JSP, the messages do not display:
<[EMAIL PROTECTED] prefix="html"
The messages tag supposed to display all the messages automatically ?
When I place this on the JSP, the messages do not display:
<[EMAIL PROTECTED] prefix="html" uri="/struts-html"%>
I know that the message key is correct, the message resource file can b
Singla
>and we don't have to rely on them backing their disk files up.
Property file can also be stored at remote location like database. But,
you have to again extend PropertyMessageResources..
Greg Dunn wrote:
Sorry I wasn't clear. I've got my ApplicationResources.pro
reg Dunn" wrote:
> Sorry I wasn't clear. I've got my ApplicationResources.properties file
set
> up and in use for most messages. However, it's packed into a .war file
> inside an .ear file for deployment, so I can't let them access it
directly
> and edit the mes
Sorry I wasn't clear. I've got my ApplicationResources.properties file set
up and in use for most messages. However, it's packed into a .war file
inside an .ear file for deployment, so I can't let them access it directly
and edit the messages in it to their taste. Wha
I'm not sure if you are asking more than what this answer implies but ... I
use Properties stored in a properties file for my error messages.
Mike
-Original Message-
From: Greg Dunn [mailto:[EMAIL PROTECTED]
Sent: Wednesday, December 03, 2003 11:40 AM
To: Struts Users Mailing
My PTB want to let our clients edit the content of certain error messages
after deployment.Any suggestions on how to accomplish this? Thanks.
Greg
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e
lands
-Original Message-
From: koen boutsen [mailto:[EMAIL PROTECTED]
Sent: Wednesday, November 26, 2003 2:31 PM
To: [EMAIL PROTECTED]
Subject: location of error messages
Hi
In my validation, I create multiple actionErrors.
On the jsp page, I want each error message to be displayed next t
Might just be a table layout issue. You could always try stuffing the error
message in it's own cell:
Quoting koen boutsen <[EMAIL PROTECTED]>:
> Hi
>
> In my validation, I create multiple actionErrors.
> On the jsp page, I want each error message to be displayed next to the
> corresponding
Hi
In my validation, I create multiple actionErrors.
On the jsp page, I want each error message to be displayed next to the corresponding
input field.
I have this in my resource file :
errors.header=
errors.prefix=
errors.suffix=
errors.footer=
and this in my .jsp :
On screen, the error mes
I have written an ExceptionHandler that extends the struts exceptionHandler.
I would like it to print a stack trace. So, I have done the following:
have a look at this blog entry, and the ExceptionHandler and JSP page I
use for displaying exception messages (and stacktraces)
http
What does the errors.detail string look like? Do you have a replacement
parameter in it for exception.getMessage() to be inserted into?
-daniel
Daniel A. Torrey
daniel at datorrey dot net
Quoting Sharmila Pandith <[EMAIL PROTECTED]>:
> Hi,
>
> I have written an ExceptionHandler that extends
Hi,
I have written an ExceptionHandler that extends the struts exceptionHandler.
I would like it to print a stack trace. So, I have done the following:
In ln1, I add the config.getKey to errors. It prints out the value associated
to the key.
In Ln4, I have added an Action error with the key and
> Can anobody help me with my problem.
Use JSTL and its fmt:message tag where you can
use the expression language to dynamically specify
the message key.
Refer to the JSTL documentation in regards to how
to specify resource bundles for JSTL, etc.
-TPP
---
MAIL PROTECTED]
Sent: Thursday, November 20, 2003 4:05 PM
To: '[EMAIL PROTECTED]'
Subject: dynamic selection of messages from properties file
Hello,
I try to show messages in the GUI depending on values from backend. The
value which I receive are of the type int like 1, 2, 3
Now I have to
1 - 100 of 520 matches
Mail list logo