Results 1 to 2 of 2

Thread: <property name="sessionForm"> for a bean definitio

  1. #1
    Join Date
    Jul 2007
    Posts
    11

    Default <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. #2
    Join Date
    Nov 2005
    Location
    Reutlingen, Germany
    Posts
    2,098

    Default

    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
    This post can contain insufficient information.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •