This Bugzilla instance is a read-only archive of historic NetBeans bug reports. To report a bug in NetBeans please follow the project's instructions for reporting issues.

Bug 64301 - Action - form scope should be request by default
Summary: Action - form scope should be request by default
Status: RESOLVED WONTFIX
Alias: None
Product: javaee
Classification: Unclassified
Component: Struts (show other bugs)
Version: 5.x
Hardware: PC Windows XP
: P3 blocker (vote)
Assignee: Petr Pisl
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2005-09-14 09:00 UTC by zikmund
Modified: 2006-06-05 00:12 UTC (History)
0 users

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description zikmund 2005-09-14 09:00:19 UTC
Build 200509131800

1) Have a WebApp with Struts support
2) Invoke New Action wizard or Add Action dialog in struts-config.xml
3) ERROR:
Scope of FormBean is session by default. It should be request because in session
case you are responsible for bean destroying etc.
Comment 1 Petr Pisl 2005-10-24 16:51:43 UTC
I don't think so. According to the dtd, the session scope is default if you
don't fill any. And you don't take care about destroying the action, the action
is destroyed, when the session is finished.