This week's book giveaway is in the Jobs Discussion forum.
We're giving away four copies of Soft Skills and have John Sonmez on-line!
See this thread for details.
The moose likes Beginning Java and the fly likes how to read string value using java reflection Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Soft Skills this week in the Jobs Discussion forum!
JavaRanch » Java Forums » Java » Beginning Java
Bookmark "how to read string value using java reflection" Watch "how to read string value using java reflection" New topic
Author

how to read string value using java reflection

Reshma Reddy
Ranch Hand

Joined: Dec 21, 2006
Posts: 197
Hi All,
I am setting string(model class string) value in my service class i want to get this in my model class to do compare operation. I am trying to get string value in model class but getting 'null'.
Can any one check my code what I am doign wrong.
service class code

in model class trying to get using reflection
Reshma Reddy
Ranch Hand

Joined: Dec 21, 2006
Posts: 197
found issue,now getting value..
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: how to read string value using java reflection