Hi all,
I am maintaining a
Struts 1.0 application. I have a session scoped form that gets its default constructor called when I do a GET on a action to display it initially. From there on assuming that the user limits itself to using the forms buttons and controls all calls are POSTS.
But if I go to the address bar and press the enter key, the default constructor doesn't get called. What is the difference of following a link (a href) to the action and loading it from the address bar ? The former calls the default constructor while the latter doesn't. Since the form is session scoped that kind of explains it, but if i leave the form through a javascript window.location to another page, when I get back in, the constructor gets called again. Shouldn't it be in the session ?
Thanks