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

how to store a object in action class?

 
shahidrasul shahid
Ranch Hand
Posts: 62
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
i want to store a object in request scope in action class?

any body tell me what is pattern?

thanks advance?
 
Joe Ess
Bartender
Posts: 9298
10
Linux Mac OS X Windows
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
From the Action.execute() method? A ServletRequest instance is passed in. Just invoke setAttribute() on it.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic