using ApplicationResources.properties in the Action class

2003-11-17 Thread mohan
Hi All
I have my Action Class and ActionForm classes under project/src/java/ and
all the jsp stuff under web/project. I have struts-config.xml etc under
web/project/WEB-INF. I have the ApplicationResources.properties file under
web/project/WEB-INF/classes. How can i access the
ApplicationResources.properties file and its properties from my Action
class. I do not want that to be under my src/java directory. Let me know

Thanks

--Mohan





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



Re: using ApplicationResources.properties in the Action class

2003-11-17 Thread Jeff Kyser
Put the file where you want it and have ant copy the file to the proper
location for you.
-jeff

On Monday, November 17, 2003, at 02:42  PM, [EMAIL PROTECTED] wrote:

Hi All
I have my Action Class and ActionForm classes under project/src/java/ 
and
all the jsp stuff under web/project. I have struts-config.xml etc under
web/project/WEB-INF. I have the ApplicationResources.properties file 
under
web/project/WEB-INF/classes. How can i access the
ApplicationResources.properties file and its properties from my Action
class. I do not want that to be under my src/java directory. Let me 
know

Thanks

--Mohan





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


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


Re: using ApplicationResources.properties in the Action class

2003-11-17 Thread mohan
I have and a structure like this
project/src/java/webapp/- this contains the code ActionForm and Action
classes
project/web/app1-contains jsps for app1 and also
 
project/web/app1/WEB-INF/struts-config.xml,web.xml.,classes/ApplicationResource.properties

project/web/app2-contains jsps for app1 and also
project/web/app2/WEB-INF/struts-config.xml,web.xml.,classes/ApplicationResource.properties

the java code in src directory is common to application app1 and app2.
In my java code i want to use the ApplicationResources.properties for each
app and produce generic code.

Thank you
--Mohan




 Put the file where you want it and have ant copy the file to the proper
 location for you.

 -jeff

 On Monday, November 17, 2003, at 02:42  PM, [EMAIL PROTECTED] wrote:

 Hi All
 I have my Action Class and ActionForm classes under project/src/java/
 and
 all the jsp stuff under web/project. I have struts-config.xml etc
 under web/project/WEB-INF. I have the ApplicationResources.properties
 file  under
 web/project/WEB-INF/classes. How can i access the
 ApplicationResources.properties file and its properties from my Action
 class. I do not want that to be under my src/java directory. Let me
 know

 Thanks

 --Mohan





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



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




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