This week's book giveaway is in the Design forum.
We're giving away four copies of Design for the Mind and have Victor S. Yocco on-line!
See this thread for details.
Win a copy of Design for the Mind this week in the Design forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

instance variable -- Action class - Struts

 
kri shan
Ranch Hand
Posts: 1462
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
How can i define instance variable within Action class in Struts ?
 
Sheldon Fernandes
Ranch Hand
Posts: 157
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
The same way you define instance variables in any class. However, note that if you use instance variables in an action class, you will need to worry about multi-threaded access.

Action Class Design Guidelines
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic