aspose file tools*
The moose likes Struts and the fly likes how to store a object in action class? Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of EJB 3 in Action this week in the EJB and other Java EE Technologies forum!
JavaRanch » Java Forums » Frameworks » Struts
Bookmark "how to store a object in action class?" Watch "how to store a object in action class?" New topic
Author

how to store a object in action class?

shahidrasul shahid
Ranch Hand

Joined: Jan 28, 2008
Posts: 62
i want to store a object in request scope in action class?

any body tell me what is pattern?

thanks advance?
Joe Ess
Bartender

Joined: Oct 29, 2001
Posts: 8708
    
    6

From the Action.execute() method? A ServletRequest instance is passed in. Just invoke setAttribute() on it.


"blabbing like a narcissistic fool with a superiority complex" ~ N.A.
[How To Ask Questions On JavaRanch]
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: how to store a object in action class?
 
Similar Threads
Action class and ejb references.
how to pass session object in other Action class
How to get ServletConfig and ServletContexts in Action class of struts
Multiple Login Attempts
JUnit and mocking objects in Struts Action class