why <bean:write ...> in <logic:iterate...> is not displaying int

Discussions

Web tier: servlets, JSP, Web frameworks: why <bean:write ...> in <logic:iterate...> is not displaying int

  1. hi,

       I am using <bean:write..../> in <logic:iterate....>
     here i am trying to write a data of type int, and othere is Date.
      whay it is not printing these data types. and shows me the following error

    javax.servlet.jsp.JspException: Cannot find message resources under key org.apac
    he.struts.action.MESSAGE

    what it means and what i need to do...


    Regards,
    MaRu
    How can i print int , Date type values?
  2. You need to have a type of String to display it.

    Thanks,
    Senthil.
  3. How can i do that.

    for example I have
     
    <bean:write name="valuationHistory" property="price" />

    how can i print the value of price..

    by using "format" attribute what i need to specify??

    Regards,
    MaRu.
  4. Similarly how can I display Date using <bean:wirte/>
  5. Test Float: <bean:write name="formName" format="#.0" property="testFloat" />

    Test Date: <bean:write name="formName" format="MM/dd/yyyy" property="testDate" />

    Thanks,
    Senthil.
  6. Thanks a lot[ Go to top ]

    hi, i was facing the same problem with the int datatype. this helped me to overcome my problem. thanks for this post. ranjeet barnwal