This week's book giveaway is in the OCMJEA forum.
We're giving away four copies of OCM Java EE 6 Enterprise Architect Exam Guide and have Paul Allen & Joseph Bambara on-line!
See this thread for details.
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


Win a copy of OCM Java EE 6 Enterprise Architect Exam Guide this week in the OCMJEA forum!
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: 61105
    
  66

There should be no problems using boolean properties.


[Asking smart questions] [Bear's FrontMan] [About Bear] [Books by Bear]
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Bean members as boolean or String?