Home >Web Front-end >JS Tutorial >jquery ajax under firefox returns object XMLDocument processing method_jquery
When using jquery ajax to process struts2 under firefox and return the json type, the successful return result of ajax is [object XMLDocument].
Solution: Add a line of code in front of getWriter.print();