Hello, I have a Struts2 app in which my struts.properties resides in WEB-INF/classes. It contains the following line
struts.custom.i18n.resources=mypropertyfile mypropertyfile also resides in WEB-INF/classes. and inside the properties file, for example I have the following: pdf.test.title=PDF Test then in my jsp I use it as follows <s:text name="pdf.test.title"/> On the browser it shows "pdf.test.title" rather than "PDF Test" With the same setup this problem was not there on Sun application server 8.2. Problem started happening after we moved to GlassFish. I will ask the question to GlassFish users as well but before that I wanted to know if there is any OTHER way in struts to use properties file? I do not have access to the App server so I want to try and resolve the issue with code fix. Please let me know if there is another way to use properties files in struts? Thanks