as long as its in your class path you can write a propertyreader factory class (singleton) and your actions can use that to access your mail properties..
"Dan Allen" <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED] > As it is typical to have a *.properties file for any general > settings for a server application, I was curious to know how > developers handle mail settings. An example file I had in mind > would be something like > > mailer.transport.protocol=smtp > mailer.transport.host=localhost > mailer.transport.port=25 > mailer.from.name=Webmaster > [EMAIL PROTECTED] > > If I were to use a file like this, where in the struts hierarchy > would I put it and how would I read it in to make it available to > my actions()? > > Dan > > -- > - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - > Daniel Allen, <[EMAIL PROTECTED]> > http://www.mojavelinux.com/ > - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - > "If you still don't like it, that's ok: that's why I'm boss. I > simply know better than you do." > -- Linus Torvalds > - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]