Question : Ajax accessing javascript in an xmlhttprequest using a jsp

Is it possible to have an xmlhttp request
url = "test.jsp"
http_request.open('POST', url, true);

contact a jsp which then invokes some javascript for onclick on that jsp body onload

//test.jsp








I am trying to get some dynamically generated forms on a jsp to submit automatically through an ajax request if possible.

Answer : Ajax accessing javascript in an xmlhttprequest using a jsp

hi

the better for you is to create an invisible iframe, set the location to your jsp file and the browser just call the event onload for you, and you give the result you want.

if you explain your problem with more detail, maybe have other solutions.

best regards
Random Solutions  
 
programming4us programming4us