vaadin - How to download file in server? -


i want download text file server, , found component 'filedownloader' in vaadin.

however, cannot find examples. examples using outputstream.

filedownloader takes resource , there subclass fileresource case (from docs):

fileresources files or directories on local filesystem. files , directories served through uri:s client terminal , must registered uri context before can used. resource automatically registered application when created


Comments

Popular posts from this blog

php - failed to open stream: HTTP request failed! HTTP/1.0 400 Bad Request -

java - How to filter a backspace keyboard input -

java - Show Soft Keyboard when EditText Appears -