--- On Fri, 6/13/08, Milan Milanovic <[EMAIL PROTECTED]> wrote: > I want to have two action classes, the first class called > SearchAction will search from database and show results in a jsp page. > When user click some row I want to pass that value (through a session) to > another action class called EditAction which will then show that object > for editing. Is this possible to define in Struts 2?
Pass *what* value? You can't "pass an object" to an action. You could pass an ID. You could use that to *retrieve* an object from the session, if your application is small enough that it can keep all those objects in session for all the users. It's more likely you'd use the ID to get the full object from a database, though. Dave --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]