Thanks.

Brandon Goodin
Phase Web and Multimedia
P (406) 862-2245
F (406) 862-0354
[EMAIL PROTECTED]
http://www.phase.ws


-----Original Message-----
From: Ted Husted [mailto:[EMAIL PROTECTED]]
Sent: Monday, January 20, 2003 11:10 AM
To: Struts Developers List
Subject: Re: Application Resources


Yes, the idea of the Properties object is to give developers somethign
they could store in memory and/or load from storage needed.

You might also want to have a look at the new Commons Resources package
in the Commons. We'll be migrating Struts to use this post 1.1.

-Ted.

Brandon Goodin wrote:
> The reason why I asked here was because I wanted to know if struts
actually
> stores a Properties object somewhere or if the Properties object actually
> gets translated into another object (i.e. MessageResources). I am not
asking
> because I don't know how to access the Messages. But rather I want to
> implement a similar function in an app that is separate from struts and
was
> curious if storing a Properties object in the Application scope is
> appropriate. I figured that here on the developers board I could get more
> specific implementation information about how struts is doing that. I
> attempted to traverse the code, but, figured I would propbably get a
quicker
> answer here. Please, forgive my laziness.
>
> Thanks,
> Brandon Goodin
> Phase Web and Multimedia
> P (406) 862-2245
> F (406) 862-0354
> [EMAIL PROTECTED]
> http://www.phase.ws
>
>
> -----Original Message-----
> From: David Graham [mailto:[EMAIL PROTECTED]]
> Sent: Monday, January 20, 2003 9:18 AM
> To: [EMAIL PROTECTED]
> Subject: Re: Application Resources
>
>
> This is a struts-user question.  Struts stores a MessageResources object
in
> the ServletContext under Globals.MESSAGES_KEY
>
> David
>
>
>
>
>
>
>
>>From: "Brandon Goodin" <[EMAIL PROTECTED]>
>>Reply-To: "Struts Developers List" <[EMAIL PROTECTED]>
>>To: "Struts Dev" <[EMAIL PROTECTED]>
>>Subject: Application Resources
>>Date: Mon, 20 Jan 2003 09:16:11 -0700
>>
>>I need to load a properties config file into memory for my application to
>>use. I know how to load a property file. But, I was wondering how struts
>>loads it's Application Resources and makes it available to the app. Do the
>>properties persist as  a Properties object in the Application scope?
>>
>>Brandon Goodin
>>Phase Web and Multimedia
>>P (406) 862-2245
>>F (406) 862-0354
>>[EMAIL PROTECTED]
>>http://www.phase.ws
>>
>>
>>
>>--
>>To unsubscribe, e-mail:
>><mailto:[EMAIL PROTECTED]>
>>For additional commands, e-mail:
>><mailto:[EMAIL PROTECTED]>
>
>
>
> _________________________________________________________________
> MSN 8 with e-mail virus protection service: 2 months FREE*
> http://join.msn.com/?page=features/virus
>
>
> --
> To unsubscribe, e-mail:
<mailto:[EMAIL PROTECTED]>
> For additional commands, e-mail:
<mailto:[EMAIL PROTECTED]>
>
>
>
> --
> To unsubscribe, e-mail:
<mailto:[EMAIL PROTECTED]>
> For additional commands, e-mail:
<mailto:[EMAIL PROTECTED]>
>
>


--
Ted Husted,
Struts in Action <http://husted.com/struts/book.html>


--
To unsubscribe, e-mail:   <mailto:[EMAIL PROTECTED]>
For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>



--
To unsubscribe, e-mail:   <mailto:[EMAIL PROTECTED]>
For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>

Reply via email to