Ok, i figured out that problem, after more research on these forums and elsewhere. For those reading this that might be like the answer... the name of the properties file needs to be com.mycompany.Whatever.properites, not in that directory location. I guess it doesnt really matter too much what the name of the prop file is, but a full package name will keep it from stepping on others.
Now, for the next question - i18n with a jsp file. I know JBP uses its own tld functions for i18n. For portability's sake, is it possible to use the standard fmt.tld JSTL functions? I haven't been able to get these to work within JBP though. My guess is that it doesn't load the resource in a way that the jsp engine can find it, or i'm not setting the bundle properly. Not sure. So i set my resource-bundle in the portlet.xml, and then i use this code within the jsp... | <%@ taglib uri="http://java.sun.com/jsp/jstl/fmt" prefix="fmt" %> | <fmt:setBundle basename="com.portalbook.portlets.todo.todoResourceBundle" /> | <fmt:message key="mykey" /> | But the page output just has "???mykey???" where the text should be. I put the JSTL standard.jar in my portlet's lib, but still no luck. Anyone accomplished this, outside of the JBP n:i18n(key) functions? thanks. ... .joe View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3871418#3871418 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3871418 ------------------------------------------------------- This SF.net email is sponsored by Microsoft Mobile & Embedded DevCon 2005 Attend MEDC 2005 May 9-12 in Vegas. Learn more about the latest Windows Embedded(r) & Windows Mobile(tm) platforms, applications & content. Register by 3/29 & save $300 http://ads.osdn.com/?ad_id=6883&alloc_id=15149&op=click _______________________________________________ JBoss-Development mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/jboss-development
