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

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

Joined: Jan 10, 2002
Posts: 60780

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?
Similar Threads
Exception setting property value with CGLIB
Problems with bean example
compilation error
getting errors in tomcat server
Use a UseBean id within a scriptlet