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 sharma...@gmail.com wrote:

 Hi

 I have a jsp that displays some data . To refine the data based on some
 criteria i have two comboboxes.

 s:select list=categoryList id=categorySelect name=categorySelect
 onchange=getDisplayCriteria(); emptyOption=true/s:select

  s:select list=statusList id=statusSelect name=statusSelect
 onchange=getDisplayCriteria(); emptyOption=true/s:select


 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(categoryList, EComplaintType.values());
 ActionContext.getContext().put(statusList, EComplaintStatus.values());
 return SUCCESS;
 }

 but the problem is that whatever we put in this action context , those
 values are for that action only if we call any other action that
 renders
 the same jsp these values are not accessible.

 there is some issue with session management what i feel... can u suggest
 how
 should i approach this problem.. to make the values stay in the session
 after the first call.

 --
 Thanks and Regards
 Upasana Sharma



Re: struts action related query

2010-04-21 Thread jaya krishna
its better to use AJAX

Jay

On Wed, Apr 21, 2010 at 12:15 PM, Upasana Sharma sharma...@gmail.comwrote:

 Hi all

 I have a jsp that opens up as a pop up. I want to call a form submit from
 this jsp so that it calls some method in action. But I want that the jsp
 remains static as pop up and do not redirect or forward to some other jsp.
 In struts.xml we have to specify some result for some action. Can you
 help me out how to deal with such scenario...
 thanks in advance..

 Upasana Sharma



Do I need to configure Tomcat to enable heavy multiple downloads of a file in Struts?

2009-06-19 Thread jaya krishna
Hi all,

I have a requirement in my website that a user can download a file of size -
150 MB. The number on concurrent requests go up along with number of users
enrolled in my website. Am using struts framework to support this download
concept. Do I need to configure Tomcat server to support multiple downloads
of a that file? Please advise me on this.

Regards,
Jayakrishna T