Win a copy of Think Java: How to Think Like a Computer Scientist this week in the Java in General 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: 9279
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