Iam using jstl fmt tag to display message based on a key & value from applicationresources file .but it is not displaying the value(???mainMenu.Display??? ). Here is the code that iam using to display it
Originally posted by krish chaitu: I Have all the tld files in WEB-INF folder & all the jar files in lib directory.
My point is that you should not have extracted the JSTL tld files from the jar files and placed them in WEB-INF. While that's not the cuase of your current issue, it will cause you other issues in the future. The container will find the tld files inside the jar files when you use the proper URI to reference them. Extracting them to WEB-INF is unecessary and will just help to gum up the works.
You still haven't answered my question about your properties files. [ October 22, 2007: Message edited by: Bear Bibeault ]
Joined: Oct 09, 2007
Thanks for your help & iam able to resolve the error, as i have my properties file called ApplicationResources.properties inside classes & inside a package so iam not giving the absolute path to refer inside the <fmt:setBundle basename="ApplicationResources"/>,so here i was having the problem, now when i replaced it with my package declaration its now able to pick the properties file & display it when i changed it to <fmt:setBundle basename="com.src.java.ApplicationResources.
the properties file is defined in my struts config file as