So there are all sorts of issues here with your code. First, you seem to be expecting XML returned from the $.load() function. That may very well be however, the $.load() doens't give 2 beans about the data. It just simply dumps it into the selector you've chosen. Secondly, you're overcomplicating the JSP....
Then how to load the text box, actually I have a dropdown box in html,
to be loaded from database (in jsp).
Todo this, I just tried with this small example.
ok, here am trying the populate textbox, whose value has to be populated from jsp,,
Jsp code :::