how to save the result of Grid serialization to a file?

after changes some data in grid, how to save the result of Grid serialization back to a XML file? JSP based not use PHP.

The grid is client side component so it doesn’t include server side code for such task. You can transfer a data by any way - hidden form submit, ajax call or other; and use JSP code to get the data from request and save to file.