The HTML Post Preservation page is sent to my browser which is an AJAX application that does not understand standard HTML code, and thus, my AJAX browser cannot get further in browsing. How can I solve this issue?
HTML Post Preservation page needs the browser to be able to understand standard HTML data. Web Agent are designed to work with standard HTML protocol.
The message from the Web Agent for Post Preservation will be returned to the program that made the POST request so in your case it would be sent back to the AJAX application. The Post Preservation mechanism is designed for browsers and therefore any non browser such as AJAX has to be able to handle the HTTP requests that are sent back to it and perform the correct actions like your browser would.
The solution for that problem is to modify the AJAX browser to handle HTML code properly.
As a workaround:
Note: There are some other issues reported with integration of AJAX with Web Agent: