aspose file tools*
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 Java 8 in Action this week in the Java 8 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: 60077
    
  65

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