wood burning stoves*
The moose likes Servlets and the fly likes Invoke bean methods by Reflection API? Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Murach's Java Servlets and JSP this week in the Servlets forum!
JavaRanch » Java Forums » Java » Servlets
Bookmark "Invoke bean methods by Reflection API?" Watch "Invoke bean methods by Reflection API?" New topic
Author

Invoke bean methods by Reflection API?

Sam Jim
Greenhorn

Joined: Nov 26, 2007
Posts: 2
Hello dudes..

Please tell me, how to invoke bean's setter & getter methods by reflection..
The main thing is, i need to set request's parameters to bean's setXxx() methods by reflection..(not a single setXxx() methods, but no of setXxx() methods). Help me & if possible send me the sample codes..

Urs
SaM..
[ November 28, 2007: Message edited by: Bear Bibeault ]
Ben Souther
Sheriff

Joined: Dec 11, 2004
Posts: 13410

Sam Jim,
In an effort to help you get the most from our forums, we've compiled a
list of tips for asking questions here. You can find the list in our
FAQ section here.
In particular please see:
UseRealWords

Abbreviations such as "u" or "ur" in
place of "you" and "you are" or "you're" confound language translation software making
it hard for our non-English speaking members to read your posts.
"plz" is not a word in the English language.

Also, see:
EaseUp
to find out why adding 'urgent' to your posts or subject lines can actually slow down or halt responses to your question altogether.

If you click on the link in the top post in this forum, you can fix these things and increase your chances of getting a rapid and helpful response to your question.



Again, welcome to JavaRanch and good luck with your question.
-Ben


Java API J2EE API Servlet Spec JSP Spec How to ask a question... Simple Servlet Examples jsonf
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Invoke bean methods by Reflection API?
 
Similar Threads
How to invoke a method without arguments using Reflection
Binding values in a PreparedStatement
A question about Introspection and Java Reflection
Using Reflection
Reflection to set ArrayList attribute