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.
Daniel Luis dos Santos
posted 4 months ago
My rubber duck just told me. The constructor is being called because in the page before entering the form you are setting it to null.
All of the world's problems can be solved in a garden - Geoff Lawton. Tiny ad:
RavenDB is an Open Source NoSQL Database that’s fully transactional (ACID) across your database