I am beginner..for trial i used following code..
my txt file i kept on location D:\test.txt
what parameters should i give in place of “?”
downloadButton.addClickHandler(new ClickHandler() {
@Override
public void onClick(ClickEvent event)
{
Window.open(?);
}
});
Thank you..
From window.open() you need to call a servlet like the following code..
Then in servlet you can get the value of myParam and download it.