RE: Calling an action class through Javascript -Struts 2.

2011-03-21 Thread CRANFORD, CHRIS
I would highly recommend AJAX/JSON/jQuery, they are Javascript. Question - Does your requirement state that the data should be server-call back delay delivered? Does your requirement expect the data to be pre-rendered and the DOM updated real-time? Either way, I would use jQuery to perform eit

Re: Calling an action class through Javascript -Struts 2.

2011-03-21 Thread Dave Newton
On Mon, Mar 21, 2011 at 9:31 AM, adam pinder wrote: > you can use AJAX functionality straight from plain old javascript without > using DOJO > or other javascript libraries - its just those libs make it easier. Make it easier to the point of it being a Really Bad Idea to do it *without* them. Us

RE: Calling an action class through Javascript -Struts 2.

2011-03-21 Thread adam pinder
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:

Re: Calling an action class through Javascript -Struts 2.

2011-03-21 Thread Dave Newton
On Mon, Mar 21, 2011 at 1:16 AM, JavaNoobie87 wrote: > 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. Both Ajax and JSON are JavaScript. Dave -

Re: Calling an action class through Javascript -Struts 2.

2011-03-21 Thread APE SHOW
we just use js ajax request the json data from struts2 action. you can find a jsonlib from json.org, written by java,it's quite easy... good luck mead.ipod On 2011-3-21, at 13:16, JavaNoobie87 wrote: > Hi All , > I'm trying to call an action class , On change of the values in a dropdown > box