Still in learning mode, I just created a new project and added Struts and JSTL capabilities.
Added one line to the generated MyJsp.jsp file after the one line in the body:
<fmt:message key=”button.change”/> and, of course the required reference to the tld at the top:
<% taglib uri=”http://java.sun.com/jstl/fmt” prefix=”fmt” %>
The source ApplicationResources.properties is in src/fi.jstltest. I added one definition to that file:
button.change=Change This Batman!
First thing I noticed is that I don’t see the classes folder, which was disturbing (at first). I’m used to seeing this in Websphere. Anyway, noticed that there really is a classes folder (using window explorer) and ApplicationResources.properties is getting copied into it.
When I fire up tomcat, it looks like it never loads my ApplicationResources. Sure enough, when I hit it from the browser I get:
This is my JSP page.
???button.change???
I am running eclipse 3.0.1 build id 200409161125, myeclipse 3.8.3 build id 200412061200-3.8.3, on windows XP. Any help would be appreciated.
Thanks.
Dean