File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
The moose likes Struts and the fly likes array of textbox problem Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login

Win a copy of REST with Spring (video course) this week in the Spring forum!
JavaRanch » Java Forums » Frameworks » Struts
Bookmark "array of textbox problem" Watch "array of textbox problem" New topic

array of textbox problem

Swathi Prakash
Ranch Hand

Joined: Jan 18, 2005
Posts: 49
hi all,,

i have a page which has no of text boxes according to the count which i got from page loading.according to the count the no of text box will appear in the problem i m using ActionMessages in Action..
if my action throws any errors,i revert back to the same screen. the values in that textboxes are like this..
i m setting the property as double data type..the value entered or disappears and the [Ljava.lang.Double;@655146}
string is appearing in my textbox...i want to get the values whatever i entered should be appeared on the screen,,.. what is the solution for this...please help me...
Thanks in advance...

Marc Peabody
pie sneak

Joined: Feb 05, 2003
Posts: 4727

That looks more like the toString result of a Double[] than a Double.

Am I right?

A good workman is known by his tools.
Hussain Fakhruddin
Ranch Hand

Joined: Aug 13, 2004
Posts: 96
I usually use string and boolean as the datatype in action forms, and later paseInteger if I need too.

Hussain Fakruddin<br /> <br /><b>IBM 486-OOAD with UML</b>
Swamy Nathan
Ranch Hand

Joined: May 16, 2004
Posts: 187
subject: array of textbox problem
It's not a secret anymore!