dendenners
Programmer
Hey there,
I'm using the java reflection package to dynamically determine what fields of a dataObject (bean) to show on jsp page. However, it seems that I get an error if the member variables of the bean are private. Is it the case that member variables of a class have to be public for reflection to determine them, or is there a bean-specific way in which a correctly constructed class can get around this?
Thanks
I'm using the java reflection package to dynamically determine what fields of a dataObject (bean) to show on jsp page. However, it seems that I get an error if the member variables of the bean are private. Is it the case that member variables of a class have to be public for reflection to determine them, or is there a bean-specific way in which a correctly constructed class can get around this?
Thanks