Win a copy of Murach's Python Programming this week in the Jython/Python forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

problem sending data from jsp as xml via ajax  RSS feed

 
Anand Shrivastava
Ranch Hand
Posts: 125
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Dear friends,

I am not able to read the data sent from a jsp as xml. The jsp which sends the data as xml is as under:



And the relevant function of the receiving jsp which has to read this sent data is as under:



However, I am not able to read the firstname and after giving the alert of editing, the script stops. Please help.
 
Bear Bibeault
Author and ninkuma
Marshal
Posts: 65826
134
IntelliJ IDE Java jQuery Mac Mac OS X
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Step 1: move the code from a JSP to a servlet. Java code should never be placed in a JSP.

Then we can debug from there.
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!