Announcement Announcement Module
Collapse
No announcement yet.
<property name="sessionForm"> for a bean definitio Page Title Module
Move Remove Collapse
X
Conversation Detail Module
Collapse
  • Filter
  • Time
  • Show
Clear All
new posts

  • <property name="sessionForm"> for a bean definitio

    Hi all, could anyone say to me why shoud I use in the servlet definition :
    <property name="sessionForm">
    <value>true</value>
    </property>
    instead of
    <property name="sessionForm">
    <value>false</value>
    </property>
    or in the other way when defining a new bean????
    I am making a web application based on Springframework. And I have all those properties (sessionForm) set to "true" but I don't know why...I have some problems with a JSP page using the controller it shouldn't and maybe is that a reson.

    Thanks a lot.
    Cristina.

  • #2
    sessionForm="true" means the form backing object is kept in the session during form processing. In most cases you probably don't need it. But read about it here.

    Joerg

    Comment

    Working...
    X