i am using smartGWT , i want to handle a file that i receive from server in the request body and download it , so can any one please provide any help ?
what i need exactly is to get the file from the response body and download it. thanx.
i am using smartGWT , i want to handle a file that i receive from server in the request body and download it , so can any one please provide any help ?
what i need exactly is to get the file from the response body and download it. thanx.
Try this simple servlet downloading code:
web.xml:
client side code: (check the servlet URL if it doesn't work for you)
server side code: