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

It is wrong:
http://struts.apache.org/1.x/struts-core/apidocs/org/apache/struts/config/ActionConfig.html#setScope(java.lang.String)


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 ?

No, session-scoped form-beans are not reinitialized.

if not, then when is the form bean reinitialized in case of its default scope (request) .

For requested-scoped ones they are reinitialized simply because they are created for each 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.

Use a DTO as Patil wrote. Don't use form beans if you don't have a form, prefer using DTOs or domain objects (don't ask what "domain objects", those are "your" objects :-) )

Ciao
Antonio


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

Reply via email to