Hello, 

You want to configure MQ series Q and DB? 
For which purpose?
Aren't htosep roperties  server-related properties?

If your code is dependent on those things, write a plugIn that read
A configuration file and initializes your objects with proper values..
Ideally, those values should have application scope..so Struts PlugIn
Should do what you need

Rgds
        marco

-----Original Message-----
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] 
Sent: 30 January 2006 16:38
To: Struts Users Mailing List
Cc: Struts Users Mailing List
Subject: Re: Two questions.

Hubert:
        Thanks for your response !
        As I haven't got any answer for my 2nd question, if you can 
respond with this thread or newer thread would give me jump start on issue 
of              application properties file.
        In my application I need to read from application properties file 
very specific to application and pass it to my application configuration 
object
        so I can initialize MQ Series Q and DB and so forth.
        Pls. let me know how would I read more than one properties file. 
and can have access to file from Action Class so I can pass this handle to 
                properties file to another helper class.
        Thanks.
Digant




Hubert Rabago <[EMAIL PROTECTED]>
01/30/2006 10:42 AM
Please respond to "Struts Users Mailing List"

 
        To:     Struts Users Mailing List <user@struts.apache.org>
        cc: 
        Subject:        Re: Two questions.


On 1/27/06, [EMAIL PROTECTED] <[EMAIL PROTECTED]> 
wrote:
> Very simple two questions .
>
> 1. How do I get struts log4j messages on my console/my log ?
> 2. How do I read application specific properties file in struts
> application?

Instructions on how to use and configure Log4j are available on
http://logging.apache.org/log4j/docs/documentation.html

Once you've familiarized yourself with it, you can configure Struts
logs using "org.apache.struts" keys:

# Print only messages of level WARN or above from Struts.
log4j.logger.org.apache.struts=WARN

And you're already discussing Item #2 in another thread so I'll skip that.

Hubert

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




This communication is for informational purposes only. It is not intended
as an offer or solicitation for the purchase or sale of any financial
instrument or as an official confirmation of any transaction. All market
prices,
data and other information are not warranted as to completeness or accuracy
and
are subject to change without notice. Any comments or statements made herein

do not necessarily reflect those of JPMorgan Chase & Co., its subsidiaries 
and affiliates



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

Reply via email to