surendra

Forum Replies Created

Viewing 3 replies - 1 through 3 (of 3 total)
  • Author
    Replies
  • in reply to: Obtaining JSON object from struts action response #99482
    surendra
    Participant

    hiii aarti would you explain how to use jquery , json with java & jsp in struts 1.2 ? Please clarrify your code and what is the use url an how to automaically create jquery grid in jsp.

    in reply to: Obtaining JSON object from struts action response #99481
    surendra
    Participant

    aarati said:

    Hello,

    I get an empty grid when trying to obtain a json object from struts action method.

    Making use of the following

    in reply to: Obtaining JSON object from struts action response #99480
    surendra
    Participant

    kirangentlebreeze1987 said:

    aarati said:

    Hello,

    Finally got it to work Smile.

    Made slight modifications to the existing code:

    Struts Action:

    1) Earlier was returning to an empty jsp page with no specific code. Now returning null.

    2) Using the write method of the jsonObj to write the response data.

    The action method now looks like the following:

    public ActionForward getJSONData(ActionMapping mapping, ActionForm form,

Viewing 3 replies - 1 through 3 (of 3 total)

Stay connected with us in your favorite flavor!