hi Rama,
-I don't understand why you want to write to the console (why not to proper logfile?), but even in a
JSP you can use System.out
It's probably easier/better to put the logging outside of your jsp, in a
servlet or ..
-the Jakarta Commons - BeanUtils project has a class BeanUtils, with a describe method that returns all properties of an object in a map.
Use the property name to get it's value.
-if you cannot use this package, make a usefull toString() methode for the objects that you want to print, and call this toString() method.
succes,
Herman