• Post Reply Bookmark Topic Watch Topic
  • New Topic

how to read string value using java reflection  RSS feed

 
Reshma Reddy
Ranch Hand
Posts: 197
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 197
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
found issue,now getting value..
 
It is sorta covered in the JavaRanch Style Guide.
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!