if you don't use AJAX then you can only do the standard get/post based on form submission which is a synchronous call. you can use AJAX functionality straight from plain old javascript without using DOJO or other javascript libraries - its just those libs make it easier. adam
> Date: Sun, 20 Mar 2011 22:16:19 -0700 > From: vivek...@enzentech.com > To: user@struts.apache.org > Subject: Calling an action class through Javascript -Struts 2. > > Hi All , > I'm trying to call an action class , On change of the values in a dropdown > box in my jsp .I also have to pass a value to the action class to execute > the method . Im trying to implement it only using Javascript as part of our > project requirements , and so using AJAX with JSON , dwr etc is ruled out . > If anyone could provide pointers of its implementation using Javascript it > would be great. > > -- > View this message in context: > http://struts.1045723.n5.nabble.com/Calling-an-action-class-through-Javascript-Struts-2-tp4183166p4183166.html > Sent from the Struts - User mailing list archive at Nabble.com. > > --------------------------------------------------------------------- > To unsubscribe, e-mail: user-unsubscr...@struts.apache.org > For additional commands, e-mail: user-h...@struts.apache.org >