Michael,
copy-n-paste worked! I did copy it to my BaseActionForm though!
thanks.
ATTA
On 4/16/05, Michael J. <[EMAIL PROTECTED]> wrote:
> Oh, it is protected. Then just cut and paste:
> return ((MessageResources) request.getAttribute(Globals.MESSAGES_KEY));
>
> Michael.
>
> On 4/16/05, atta
Oh, it is protected. Then just cut and paste:
return ((MessageResources) request.getAttribute(Globals.MESSAGES_KEY));
Michael.
On 4/16/05, atta-ur rehman <[EMAIL PROTECTED]> wrote:
> Hi all,
>
> Action class defines getResources(HttpServletRequest) method, thru
> which I can get access to Messa
Action class defines getResources(HttpServletRequest) as follows:
protected MessageResources getResources(HttpServletRequest request) {
return ((MessageResources) request.getAttribute(Globals.MESSAGES_KEY));
}
I don't see why this method is not static. Hopefully, this will be
refactored. Anywa
Hi all,
Action class defines getResources(HttpServletRequest) method, thru
which I can get access to MessageResources.
I don't see an equivalant method in ActionForm. Is it possible to get
access to resource files in ActionForm subclasses? If so, how would I
do it?
Thanks.
ATTA
---
Hi, Michael
After a quick look, I am trying to see how this is particularly
Struts. You have a custom RequestProcessor that allows your stuff to
be used with Struts, but other than this, the general solutions seems
to be quite outside the Struts architecture. Is that right, or do I
have it wrong
Ok let me give this a stab, this might help you
Please find the attached files, not sure if the attached file's makes its
way to the list
SampleCode = Sample code, that gets the connection etc
DBConnectionManager = manages the connection pool
DBUtil = DB utility
System.properties = conf
6 matches
Mail list logo