struts-1

Setting a session variable with Struts 1.x and AJAX

I've inherited a website developed using Struts 1.2 that I need to make some updates to. For one of the updates, I need to set a session variable based on a value selected from a dynamically created (using struts) dropdown box when the user clicks a button. The way I'm attempting to accomplish this task is by using the 'onclick' property...

how to set findForward for specific module action?

public class TestAction extends Action { public ActionForward execute( ActionMapping mapping, ActionForm form, HttpServletRequest request, HttpServletResponse response) throws Exception{ return mapping.findForward("test"); } } ... A developer attempts to use an ActionForward by calling mapping.findForward(...

struts 1.2 with Ajax

how to make synchronous Ajax call using dojo.event.connect. Basically for asynchronous Ajax call, if two call is there means it will load parallel. So i want make a call synchronous if the call is executed fully then after only second call should invoke. please help me ...

How to store value which is sharable at the application level in struts1 like session?

I have to store the one String object at the application level and have to access it in the JSP page. How to do this?Please give me some sample. ...