Bookmark Topic Watch Topic
  • New Topic

jsp - ajax - html

 
moshi cochem
Ranch Hand
Posts: 91
  • Mark post as helpful
  • send pies
  • Report post to moderator
Hi,
Although my post is dealing with ajax, I believe it concern more jsp than ajax:
My first jsp page calls an ajax in another jsp page, that brings xml from the server (using a jar file etc...).
I do get the xml from the second jsp, but I get it covered with html tags:
html
head
body...
my xml....

I don't want these xml tags. I want only my pure xml...

my first xml calls: xmlhttp.open("GET",url,true);
to the second one that gets the xml and do back: out.print(str); , that contains all the html tags....

Thanks for any advice.
 
Jeanne Boyarsky
author & internet detective
Marshal
Posts: 34229
341
Eclipse IDE Java VI Editor
  • Mark post as helpful
  • send pies
  • Report post to moderator
Please do not post the same question in multiple threads. I'll close this copy for you.
 
    Bookmark Topic Watch Topic
  • New Topic