Not sure if it's exactly what you want but I know you can use the parameter
attribute of the action tags to specify a value that is accessible using
mapping.getParameter() from withing you Action class.

<action
        ...
        ...
        parameter=someValue/>

-Jonathan

-----Original Message-----
From: Lawrence Williams [mailto:[EMAIL PROTECTED]
Sent: Wednesday, December 10, 2003 11:20 AM
To: [EMAIL PROTECTED]
Subject: 'Module scoped' variables


Hi,

Hope this isn't too naïve a question.... Is there anyway of setting
parameters in a module-level struts-config file and referencing those
variables within an action?

Effectively giving me a module scope.

Regards
Lawrence

---
Outgoing mail is certified Virus Free.
Checked by AVG anti-virus system (http://www.grisoft.com).
Version: 6.0.547 / Virus Database: 340 - Release Date: 02/12/2003
 

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

Reply via email to