Win a copy of Murach's Python Programming this week in the Jython/Python forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

2 actions, same form class different instance?  RSS feed

 
mark smith
Ranch Hand
Posts: 257
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
hi

i have actions in struts-config.xml

first one


the second


for the form-bean



so both the same class


if i use same form name (projetForm) in the action

does both action will use the same instance of the class?
 
David Newton
Author
Rancher
Posts: 12617
IntelliJ IDE Ruby
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
No; you've scoped them as request.
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!