This week's giveaway is in the Android forum.
We're giving away four copies of Android Security Essentials Live Lessons and have Godfrey Nolan on-line!
See this thread for details.
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 Android Security Essentials Live Lessons this week in the Android 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?
 
Similar Threads
MVC and Form Validation
struts help with form beans being lists
A lot of people nowadays are using NAT.
passing variables into methods
Map Backed Form Bean