I have two web applications in the same container instance. Thus, I have 2 web.xml files. What is the best way to define a property that is different between the two different web applications? For example, say I have a property called "greeting" and for web app 1, I want this property to be "Hello App 1 User". Going along with this analogy, say in my web app 2, I want this property value to be "Hello App 2 User" I can not store this of type env-entry in the web.xml file, that would cause JNDI name collisions. What's the best way to do this? The following does not work (JNDI name collisions), but it illustrates what I want to do. In app 2 web.xml <env-entry> <env-entry-name>greeting</env-entry-name> <env-entry-value>Hello App 1 User</env-entry-value> <env-entry-type>java.lang.String</env-entry-type> </env-entry> In app's 2 web.xml <env-entry> <env-entry-name>greeting</env-entry-name> <env-entry-value>Hello App 2 User</env-entry-value> <env-entry-type>java.lang.String</env-entry-type> </env-entry> =========================================================================== To unsubscribe, send email to [EMAIL PROTECTED] and include in the body of the message "signoff EJB-INTEREST". For general help, send email to [EMAIL PROTECTED] and include in the body of the message "help".
