Win a copy of The Java Performance Companion this week in the Performance forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

2 actions, same form class different instance?

 
mark smith
Ranch Hand
Posts: 256
  • 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