Results 1 to 2 of 2
  1. #1
    yuchuang is offline Member
    Join Date
    Apr 2007
    Rep Power

    Default About bean:message

    I have a question on struts about the bean:message which i find weird. usually we use bean:message, we will have a properties file to store our labels like label.publisher.contentStatus=Content Status:

    But my problem here is when i do that and i use <bean:message key="label.publisher.contentStatus"/> i couldn't display the label out. instead it show something like ???en.label.publisher.contentStatus???

    Why is it like this? Is there any files i need to edit also other than the properties file and the jsp page to add the bean:message?

  2. #2
    pegitha is offline Member
    Join Date
    Apr 2007
    Rep Power


    Those symbols means that it cannot find "label.publisher.contentStatus" in your properties file. Make sure that is in there and there are no types.

Similar Threads

  1. Please wail Message in jsp
    By in forum JavaServer Pages (JSP) and JSTL
    Replies: 1
    Last Post: 04-02-2008, 12:29 PM
  2. Replies: 0
    Last Post: 03-30-2008, 10:03 AM
  3. simulate message box
    By pablitohh in forum New To Java
    Replies: 1
    Last Post: 12-05-2007, 04:52 PM
  4. Replies: 0
    Last Post: 09-26-2007, 08:36 PM
  5. How to brodcast a message in the LAN
    By Alpha in forum Networking
    Replies: 1
    Last Post: 05-20-2007, 04:07 PM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts