my dog learned polymorphism
The moose likes EJB and other Java EE Technologies and the fly likes Getter Setter functions not working Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » EJB and other Java EE Technologies
Bookmark "Getter Setter functions not working" Watch "Getter Setter functions not working" New topic

Getter Setter functions not working

Baibhav Dalela

Joined: May 26, 2008
Posts: 1
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.

Thanks & Regards<br />Baibhav Dalela
Karthikeyan Ramaswamy
Ranch Hand

Joined: Apr 30, 2008
Posts: 42

make sure, you mapped Action (action Tag & it's name property)
and ActionForm (form-bean Tag)in struts-config.xml correctly,
I agree. Here's the link:
subject: Getter Setter functions not working
It's not a secret anymore!