Alex, why not just "lazy load" the value in an accessor for the value? in general I prefer this over an init method, but it guess it's just a stylistic preference...
hope this helps - Margaret -----Original Message----- From: Alex Colic [mailto:[EMAIL PROTECTED]] Sent: Wednesday, October 24, 2001 9:31 AM To: Struts Subject: How to pass initialise parameters to action class Hi, I have an action class that has a variable that I want set from the web.xml file. To prevent the action class from reading the xml file everytime it is accessed I wanted to set the variable once in the action classes init() method. After looking at the action class I see that there is no init() method. Any idea how I can set the value of a variable only once in the action class? Regards Alex

