May 29, 2006 #1 jetechie Technical User May 23, 2006 15 US Is there a method to pull all the values from a BEAN and output? My goal is to get a quick count of all the values that equal "0"? Thanks for any advice.
Is there a method to pull all the values from a BEAN and output? My goal is to get a quick count of all the values that equal "0"? Thanks for any advice.
May 29, 2006 #2 Diancecht Programmer Jan 8, 2004 4,042 ES The only way I can think of is using reflection. Cheers, Dian Upvote 0 Downvote
May 29, 2006 Thread starter #3 jetechie Technical User May 23, 2006 15 US I am new to JSP, so could you provide information on this reflection? or guide me to a good site that I could read. thanks again! JE Upvote 0 Downvote
I am new to JSP, so could you provide information on this reflection? or guide me to a good site that I could read. thanks again! JE
May 29, 2006 #4 Diancecht Programmer Jan 8, 2004 4,042 ES I must admit that I still don't understand what you're trying to do and what has to do with JSP, but let's carry on http://java.sun.com/docs/books/tutorial/reflect/object/get.html Cheers, Dian Upvote 0 Downvote
I must admit that I still don't understand what you're trying to do and what has to do with JSP, but let's carry on http://java.sun.com/docs/books/tutorial/reflect/object/get.html Cheers, Dian