• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

AJAX -- Struts Action --- unable to get the responseText and responseXML

 
Ranch Hand
Posts: 110
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hi Friends,


when i am using the request.responseText i am getting the html content of the forwarded page which we returns from Action class. But i want to get the actual content which i am setting in to response

response.getWriter().write(" some data ");

if i want to get the responseText and responseXML properly
please guide me how to set the "some data" values.


thanks in advance.
 
Ranch Hand
Posts: 47
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
First of u are not very clear with your statements But from the guess i think you can do one thing .
Just write what ever u want to set as response in a file and write forward the request to that page
i think you have to also write that in your action try one by one

all the best
Manoj
 
reply
    Bookmark Topic Watch Topic
  • New Topic