Results 1 to 6 of 6

Thread: How to create XML File in Action Class?

  1. #1
    Sencha Premium Member
    Join Date
    Apr 2010
    Posts
    19

    Smile How to create XML File in Action Class?

    Any one help me how to create XML file in Actions class so that to load ExtJs Grid.
    In our project we are using Struts frame work.
    Please help me with sample code

  2. #2
    Sencha User Condor's Avatar
    Join Date
    Mar 2007
    Location
    The Netherlands
    Posts
    24,245

    Default

    Any specific reason you want to use XML instead of JSON (JSON is smaller and faster)?

  3. #3
    Sencha Premium Member
    Join Date
    Apr 2010
    Posts
    19

    Default

    Not any specific reason . I just want to know how to create XML file

  4. #4
    Sencha Premium Member
    Join Date
    Apr 2010
    Posts
    19

    Default

    Can u pls tell how to send data from From Bean to ExtJs?

  5. #5
    Sencha User Condor's Avatar
    Join Date
    Mar 2007
    Location
    The Netherlands
    Posts
    24,245

    Default

    I'm using Spring MVC, so I don't know much about Struts.

    It could be something like <forward>ing to a .jsp that uses json-taglib.jar to output JSON data instead of HTML.
    (but I'm sure there are better solutions not requiring a .jsp at all)

  6. #6
    Sencha Premium Member
    Join Date
    Apr 2010
    Posts
    19

    Default

    Thx u so much

Similar Threads

  1. How to Create XML File Dynamically
    By AmitOlsys in forum Ext 2.x: Help & Discussion
    Replies: 4
    Last Post: 21 Sep 2008, 11:20 PM
  2. How do I create XML File and Save the Editor-grid panel data
    By AmitOlsys in forum Ext 2.x: Help & Discussion
    Replies: 0
    Last Post: 10 Sep 2008, 9:11 PM
  3. How to create a image with button action?
    By msuresh in forum Ext 2.x: Help & Discussion
    Replies: 1
    Last Post: 14 Jan 2008, 10:36 AM
  4. create an xml file ?
    By libertux in forum Ext 2.x: Help & Discussion
    Replies: 1
    Last Post: 21 Nov 2007, 4:55 PM
  5. create an xml file from form !
    By libertux in forum Ext 2.x: Help & Discussion
    Replies: 1
    Last Post: 21 Nov 2007, 9:08 AM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •