aspose file tools*
The moose likes HTML, CSS and JavaScript and the fly likes jsp - ajax - html Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Engineering » HTML, CSS and JavaScript
Reply locked New topic
Author

jsp - ajax - html

moshi cochem
Ranch Hand

Joined: Nov 10, 2009
Posts: 91
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
internet detective
Marshal

Joined: May 26, 2003
Posts: 29241
    
139

Please do not post the same question in multiple threads. I'll close this copy for you.


[Blog] [JavaRanch FAQ] [How To Ask Questions The Smart Way] [Book Promos]
Blogging on Certs: SCEA Part 1, Part 2 & 3, Core Spring 3, OCAJP, OCPJP beta, TOGAF part 1 and part 2
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: jsp - ajax - html
 
Similar Threads
Accessing a managed bean directly
jsp - Ajax - xml problem
AJAX Issue - Messages got lost...
built a program that can directly run in the same page
How to pass parameters from one JSP to another JSP