Hello and welcome to our community! Is this your first visit?
Register
Enjoy an ad free experience by logging in. Not a member yet? Register.
Results 1 to 3 of 3
  1. #1
    New to the CF scene
    Join Date
    Nov 2008
    Posts
    2
    Thanks
    0
    Thanked 0 Times in 0 Posts

    receive xml from asp in jsp..

    Hello,

    i'm new to using xml... i've read up on sax and dom however i'm stuck on something very simple (i think)

    how do i receive the xml in my jsp? it's being sent from asp as an XMLDOM object via XMLHttp POST...

    After i can receive it in to some variable / object.. then i think i should be able to work with it

    i tried looping through the parameter names with no success... Do i need to use a FileReader or........?

    Any help is appreciated!

    Thanks!!!
    Grampa

  • #2
    New to the CF scene
    Join Date
    Nov 2008
    Posts
    2
    Thanks
    0
    Thanked 0 Times in 0 Posts
    so i figured that part out i think

    new InputSource(new BufferedReader(request.getReader()))


    i just need to read an XML POST to my jsp and then do some serverside processing.. do you guys recommend

    SAX .. DOM ... XOM ?

    TIA!

  • #3
    Senior Coder shyam's Avatar
    Join Date
    Jul 2005
    Posts
    1,563
    Thanks
    2
    Thanked 163 Times in 160 Posts
    Quote Originally Posted by grampa View Post
    i just need to read an XML POST to my jsp and then do some serverside processing.. do you guys recommend
    what sort of processing? if its a just building a domain model out of the xml then go for SAX but, if you need to do some massaging then use DOM
    You never have to change anything you got up in the middle of the night to write. -- Saul Bellow


  •  

    Posting Permissions

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