that's a bad assumption? Does anyone know? Thanks!
From: "Ivan" <[EMAIL PROTECTED]>
Reply-To: "Struts Users Mailing List" <[EMAIL PROTECTED]>
To: "Struts Users Mailing List" <[EMAIL PROTECTED]>
Subject: Re: Accessing ResourceBundle items
getMessage(locale,"etiqueta.enregistramentPersonal.intern");
is it correct?
- Original Message -
From: "None None" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Wednesday, May 12, 2004 10:11 PM
Subject: Re: Accessing ResourceBundle items from Action class
cool in my book.
From: Riyad Kalla <[EMAIL PROTECTED]>
Reply-To: "Struts Users Mailing List" <[EMAIL PROTECTED]>
To: "Struts Users Mailing List" <[EMAIL PROTECTED]>
Subject: Re: Accessing ResourceBundle items from Action class
Date: Wed, 12 May 2004 13:05:50 -07
On Wednesday 12 May 2004 01:04 pm, None None wrote:
> Thank you for that answer Riyad. I think I actually found another
> (better?) way in my stumbling about trying to solve it on my own...
No you didn't, mine is the BEST :*D
>
> All I did is in my Action, after all my real processing, is this:
("messages.deleteFailed"));
where lpcaf is the ActionForm from the form submission. That seems to do
precisely what I want.
From: Riyad Kalla <[EMAIL PROTECTED]>
Reply-To: "Struts Users Mailing List" <[EMAIL PROTECTED]>
To: "Struts Users Mailing List" <[EMAIL PROTECTED]
I swear I answered this question yesterday yes I did, but it was from
someone else:
--
You could subclass the ActionServlet with your own instance that in its init
method reads the properties file...
I think this should do the trick, please fix the path when necessary:
Prope
Hello all. I have in my app a resouce bundle, and I can use it in my JSP's
no problem... my question though is how can I access those items from an
Action?
Specifically, I have some error messages that I want to return to the view.
At present they are hardcoded in my Action classes and they a
7 matches
Mail list logo