Re: getResources(HttpServletRequest) in ActionForm?

2005-04-16 Thread atta-ur rehman
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

Re: getResources(HttpServletRequest) in ActionForm?

2005-04-16 Thread Michael J.
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

Re: getResources(HttpServletRequest) in ActionForm?

2005-04-16 Thread Michael J.
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

getResources(HttpServletRequest) in ActionForm?

2005-04-16 Thread atta-ur rehman
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 ---

Re: How to create a web flow with Struts

2005-04-16 Thread Dakota Jack
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

FW: Database Assistance Needed

2005-04-16 Thread Folashade Adeyosoye
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