my dog learned polymorphism*
The moose likes Servlets and the fly likes Bean members as boolean or String? Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » Servlets
Bookmark "Bean members as boolean or String?" Watch "Bean members as boolean or String?" New topic
Author

Bean members as boolean or String?

Timothy Sam
Ranch Hand

Joined: Sep 18, 2005
Posts: 746
Hi, in the servlet context is it ideal to make your bean members of boolean type or should I just make them String types as any other types in my class? Will I have a problem if I do it like this?



SCJP 1.5
http://devpinoy.org/blogs/lamia/ - http://everypesocounts.com/
Bear Bibeault
Author and ninkuma
Marshal

Joined: Jan 10, 2002
Posts: 61095
    
  66

There should be no problems using boolean properties.


[Asking smart questions] [Bear's FrontMan] [About Bear] [Books by Bear]
 
 
subject: Bean members as boolean or String?