RE: [OT] Best super-class for context handling.

2003-07-31 Thread ian_d_stewart
Andrew Hill [EMAIL PROTECTED] on 07/30/2003 10:49:19 PM Please respond to Struts Users Mailing List [EMAIL PROTECTED] To: Struts Users Mailing List [EMAIL PROTECTED] cc: Subject: RE: [OT] Best super-class for context handling. snip InputStream is = servlet.getServletContext

RE: [OT] Best super-class for context handling.

2003-07-31 Thread Andrew Hill
21:25 To: Struts Users Mailing List Subject: RE: [OT] Best super-class for context handling. getResourceAsStream() is an instance method of java.lang.Class, so as long as you stick with that, you're not tied to any particular deployment environment. Ian Ian D. Stewart Open Systems Engineer II

Re: [OT] Best super-class for context handling.

2003-07-30 Thread ian_d_stewart
There shouldn't be a need to pass the ServletContext around. Just call servlet.getServletContext() within your action. Ian Ian D. Stewart Open Systems Engineer II Enterprise Midrange - Bank One Infrastructure Operations [EMAIL PROTECTED] (614) 213-6100 Simon Kelly [EMAIL PROTECTED] on

Re: [OT] Best super-class for context handling.

2003-07-30 Thread Simon Kelly
: [OT] Best super-class for context handling. There shouldn't be a need to pass the ServletContext around. Just call servlet.getServletContext() within your action. Ian Ian D. Stewart Open Systems Engineer II Enterprise Midrange - Bank One Infrastructure Operations [EMAIL PROTECTED

Re: [OT] Best super-class for context handling.

2003-07-30 Thread ian_d_stewart
[EMAIL PROTECTED] on 07/30/2003 08:49:57 AM Please respond to Struts Users Mailing List [EMAIL PROTECTED] To: Struts Users Mailing List [EMAIL PROTECTED] cc: Subject: Re: [OT] Best super-class for context handling. It's not for the actions (sorry I should have stated it in my original

Re: [OT] Best super-class for context handling.

2003-07-30 Thread Simon Kelly
List [EMAIL PROTECTED] Sent: Wednesday, July 30, 2003 3:16 PM Subject: Re: [OT] Best super-class for context handling. Ideally your business objects shouldn't know anything about the deployment environment. Not only is this good design, but it also allows you to migrate between (or support

Re: [OT] Best super-class for context handling.

2003-07-30 Thread ian_d_stewart
] To: Struts Users Mailing List [EMAIL PROTECTED] cc: Subject: Re: [OT] Best super-class for context handling. Ah, right. Not sure whether that's what I'm after. Here's a better explination. I am using files that are contained within the /WEB-INF/ dir within the web application to hold information

Re: [OT] Best super-class for context handling.

2003-07-30 Thread Simon Kelly
That's great. Thanks for your help. Cheers Simon. - Original Message - From: [EMAIL PROTECTED] To: Struts Users Mailing List [EMAIL PROTECTED] Sent: Wednesday, July 30, 2003 4:09 PM Subject: Re: [OT] Best super-class for context handling. Ok. I think I see what you're trying

Re: [OT] Best super-class for context handling.

2003-07-30 Thread Craig R. McClanahan
On Wed, 30 Jul 2003, Simon Kelly wrote: Date: Wed, 30 Jul 2003 15:47:55 +0200 From: Simon Kelly [EMAIL PROTECTED] Reply-To: Struts Users Mailing List [EMAIL PROTECTED] To: Struts Users Mailing List [EMAIL PROTECTED] Subject: Re: [OT] Best super-class for context handling. Ah, right

RE: [OT] Best super-class for context handling.

2003-07-30 Thread Andrew Hill
- From: Craig R. McClanahan [mailto:[EMAIL PROTECTED] Sent: Thursday, 31 July 2003 00:34 To: Struts Users Mailing List Subject: Re: [OT] Best super-class for context handling. On Wed, 30 Jul 2003, Simon Kelly wrote: Date: Wed, 30 Jul 2003 15:47:55 +0200 From: Simon Kelly [EMAIL PROTECTED