aspose file tools*
The moose likes Struts and the fly likes Using a boolean type on a form, good idea? Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of The Java EE 7 Tutorial Volume 1 or Volume 2 this week in the Java EE forum
or jQuery UI in Action in the JavaScript forum!
JavaRanch » Java Forums » Frameworks » Struts
Bookmark "Using a boolean type on a form, good idea?" Watch "Using a boolean type on a form, good idea?" New topic
Author

Using a boolean type on a form, good idea?

Paul Duer
Ranch Hand

Joined: Oct 10, 2002
Posts: 98
Hi guys,
I have a Struts Action and a Form. I have a property in my business object that is boolean, it's a refresh setting, pretty common I guess.
Anyway, is it a good idea to use a boolean type to setup the field on the form? I have pretty good control over what will be submitted.
What about using a primative versus an object, an difference there?
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Using a boolean type on a form, good idea?