Re: struts session help

2010-04-27 Thread Mario . HIDALGO
Subject Re: struts session help Hi, you could put/get from session like so: ActionContext.getContext().getSession(); You can define a "parent" action (implementing preparable) with a prepare() method that retrieves data and store it in session for later (and check each time if d

Re: struts session help

2010-04-27 Thread Alex Rodriguez Lopez
Hi, you could put/get from session like so: ActionContext.getContext().getSession(); You can define a "parent" action (implementing preparable) with a prepare() method that retrieves data and store it in session for later (and check each time if data is already in session) and puts it into p

Re: struts session help

2010-04-27 Thread Upasana Sharma
hi can u give me some example how to do that?? On Tue, Apr 27, 2010 at 2:09 PM, jaya krishna wrote: > HI upasana, > > y dont u store them in the application context variable?? > > Regards, > Jay > > On Tue, Apr 27, 2010 at 2:06 PM, Upasana Sharma > wrote: > > > Hi > > > > I have a jsp that d

Re: struts session help

2010-04-27 Thread jaya krishna
HI upasana, y dont u store them in the application context variable?? Regards, Jay On Tue, Apr 27, 2010 at 2:06 PM, Upasana Sharma wrote: > Hi > > I have a jsp that displays some data . To refine the data based on some > criteria i have two comboboxes. > > onchange="getDisplayCriteria();" emp

struts session help

2010-04-27 Thread Upasana Sharma
Hi I have a jsp that displays some data . To refine the data based on some criteria i have two comboboxes. the lists for these two select option are obtained from the action that calls the page containing them.. public String getAllLists() throws Exception{ ActionContext.getContext().put