Win a copy of Programmer's Guide to Java SE 8 Oracle Certified Associate (OCA) this week in the OCAJP forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Getter Setter functions not working

 
Baibhav Dalela
Greenhorn
Posts: 1
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi All

I trying to use new MyEclipse Blue 6.1.
I create one simple application which include a simple Struts framework.
But I face one problem.
My getter/setter functions of form class is not working properly.
When i try to get the value from it, It gives me null.
Could anyone please help me, what is the issue.
I create so many projects in websphere.
I know it's nothing related to which application server or IDE i m using.
I do it several time but I don't know why this happens.
Please help me out guys, I m unable to figure it.
Please revert.
 
Karthikeyan Ramaswamy
Ranch Hand
Posts: 42
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
hi,

make sure, you mapped Action (action Tag & it's name property)
and ActionForm (form-bean Tag)in struts-config.xml correctly,
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic