Announcement Announcement Module
No announcement yet.
StringArrayPropertyEditor Page Title Module
Move Remove Collapse
Conversation Detail Module
  • Filter
  • Time
  • Show
Clear All
new posts

  • StringArrayPropertyEditor

    i want to get all the rents entered by user in an array

    so i declared an array of strings in my commandclass with the name 'rents' as the name of all the fields in jsp page 'rents' keeping their ids different

    bt the issue is every field will have a value like 34,500 a formated string

    right now its working in tomcat bt when i deploy it on jboss it make the values
    rent[0] = 34
    rent[1] = 500

    i hv read about StringArrayPropertyEditor but i m not setting it anywhere

    why is the behavior different in both the servers.

    how can i achieve it as rent[0] = 54,500

    thanx in advance
    waiting for reply