my dog learned polymorphism*
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 Spring in Action this week in the Spring 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..
 
 
subject: how to read string value using java reflection