sending ajax response form struts2 action class

Please support our JavaScript / DHTML / AJAX advertiser: PostgreSQL or MySQL? Compare and contrast the two most popular open source databases
Reply

Join Date: Sep 2009
Posts: 1
Reputation: thanigaics is an unknown quantity at this point 
Solved Threads: 0
thanigaics thanigaics is offline Offline
Newbie Poster

sending ajax response form struts2 action class

 
0
  #1
Sep 6th, 2009
Hi all,

this is mohan started working recently on ajax with struts2 framework.
I can able to make a ajax request to an struts2 action class.But in the response I am getting the whole jsp page as a response mentioned in the result tag in struts.xml file.But I need only the partial data like array or list etc from the action class.

Please help me as soon as possible as I got struck up there.
Thanks in advance..

Thanks,
Mohan.
Reply With Quote Quick reply to this message  
Join Date: Mar 2008
Posts: 318
Reputation: Thirusha is an unknown quantity at this point 
Solved Threads: 51
Thirusha's Avatar
Thirusha Thirusha is offline Offline
Posting Whiz

Re: sending ajax response form struts2 action class

 
0
  #2
Sep 7th, 2009
some code will be really useful.
I am guessing that in the class your are most likely sending the entire file.
Life... Is a Moment
Reply With Quote Quick reply to this message  
Join Date: Nov 2009
Posts: 1
Reputation: VaishaliVinay is an unknown quantity at this point 
Solved Threads: 0
VaishaliVinay VaishaliVinay is offline Offline
Newbie Poster
 
0
  #3
Nov 12th, 2009
Hi Mohan,
Even I am having same problem. Did you find solution for this problem? I have not done any modification to struts.xml, do I need to do so???

~Vaishali
Reply With Quote Quick reply to this message  
Reply

Message:



Other Threads in the JavaScript / DHTML / AJAX Forum


Views: 731 | Replies: 2
Thread Tools Search this Thread



Tag cloud for JavaScript / DHTML / AJAX
About Us | Contact Us | Advertise | DaniWeb | Acceptable Use Policy | RSS Feed

©2003 - 2009 DaniWeb® LLC