Hello,

I'm new to struts. I have added the following string
to teh ApplicationResources.propertiesfile :

topic.label=Topic

I am trying to display this label on the page without
very much success. My page looks like this:

<%@ page contentType="text/html;charset=UTF-8"
language="java"%>

<%@ taglib uri="http://java.sun.com/jstl/fmt";
prefix="fmt"%>

<%@ taglib uri="/WEB-INF/struts-bean.tld"
prefix="bean"%>
<%@ taglib uri="/WEB-INF/struts-html.tld"
prefix="html"%>

<html>
  <head>
    <fmt:setBundle basename="ApplicationResources" />
    <meta http-equiv="Content-Type"
content="text/html; 
charset=windows-1252">
    <title>Add a new topic</title>
  </head>
  <body>
    <html:form action="AddTopic.do">
      <fmt:message key="topic.label"/><input
type="text" name="description"/>
      <input type="submit" value="Submit"/>
    </html:form>
  </body>
</html>

Please help.

Kind Regards,

Rudi


                
_______________________________
Do you Yahoo!?
Declare Yourself - Register online to vote today!
http://vote.yahoo.com

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

Reply via email to