It supports application support too ..
http://www.javaworld.com/javaworld/jw-09-2004/jw-0913-struts-p3.html ..the last point is about scope .

I am new to struts..n as far as my understanding goes, the form bean is reinitialized each time i visit the JSP page again ..am i correct ? if not, then when is the form bean reinitialized in case of its default scope (request) . what i want is that if i have set the status of a field as "In Progess" (for example) ....everybdy who visits my page should be able to see the status of that field as "In Progress" only until that value is changed to "Done " in form bean by my action class.

Antonio Petrelli wrote:
Kavita Mehta ha scritto:
but why not form bean in application context ...

For two reasons:
* Struts 1 supports form beans only in request and session scopes (correct me if I am wrong). * Form beans are connected to HTML forms. Do you imagine a form that changes an object for the application?

Ciao
Antonio

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to