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 Java 8 in Action this week in the Java 8 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?
 
 
subject: Using a boolean type on a form, good idea?
 
Similar Threads
A lot of people nowadays are using NAT.
MVC and Form Validation
Map Backed Form Bean
passing variables into methods
struts help with form beans being lists