Pradeeep Sharma wrote:Hi,
Yup this is working now, by making instance variables local. Thanks for the help.
You're welcome
Pradeeep Sharma wrote:
But i have confusion now that , the action class is called only when i submit the form, that means the action class's variables(weather they are instance or local) should be defined and initialized only when the class is called,
Yes, you are right, for the very first request,
Servlet container (server) creates and initialized the instance variables, and for the any sub sequent request for the same action, server uses
thread of that class to serve. And I told you, you can have many resources to discussed this on web.
Pradeeep Sharma wrote:
then why the Form was showing the old values even when the page was opened for the first time.
That's where I'm confused, coz you said I restarted the server, and still you have those previous sessioned values, are you serializing/persisting this values some where

else Its magic