This week's book giveaway is in the Servlets forum.
We're giving away four copies of Murach's Java Servlets and JSP and have Joel Murach on-line!
See this thread for details.
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

Win a copy of Murach's Java Servlets and JSP this week in the Servlets forum!
JavaRanch » Java Forums » Engineering » HTML, CSS and JavaScript
Reply locked New topic

jsp - ajax - html

moshi cochem
Ranch Hand

Joined: Nov 10, 2009
Posts: 91
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:
my xml....

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

my first xml calls:"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

Joined: May 26, 2003
Posts: 30057

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
subject: jsp - ajax - html
Similar Threads
AJAX Issue - Messages got lost...
How to pass parameters from one JSP to another JSP
jsp - Ajax - xml problem
built a program that can directly run in the same page
Accessing a managed bean directly