![](/img/trans.png)
[英]java struts1: forward from action to action with One ActionForm
[英]Struts1 ActionForm are Singleton, If Yes, how different request attributes are stored
Struts1 ActionForm是Singleton,如果是,Struts應用程序中存儲了不同的請求屬性
不, ActionForms
不是Singleton。 有一個組件( RequestProcessor
)解析您的請求,實例化一個新的ActionForm
,盡可能地填充請求信息,然后將其傳遞給Action
對象(是的, Actions
可以被認為是Singleton對象)
聲明:本站的技術帖子網頁,遵循CC BY-SA 4.0協議,如果您需要轉載,請注明本站網址或者原文地址。任何問題請咨詢:yoyou2525@163.com.