• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

problem sending data from jsp as xml via ajax

 
Anand Shrivastava
Ranch Hand
Posts: 125
  • 0
  • 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
Pie
Posts: 64173
83
IntelliJ IDE Java jQuery Mac Mac OS X
  • 0
  • 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.
 
Don't get me started about those stupid light bulbs.
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic