[jboss-user] [Beginner's Corner] New message: "Re: How to transfer files via JBOSS"
Robert Freund
do-not-reply at jboss.com
Thu Feb 11 07:31:49 EST 2010
User development,
A new message was posted in the thread "How to transfer files via JBOSS":
http://community.jboss.org/message/525741#525741
Author : Robert Freund
Profile : http://community.jboss.org/people/rbrtfreund
Message:
--------------------------------------------------------------
In short yes its possible with JBoss.
You don't have to republish an ear or war for that matter to add files to it once deployed. If you want FTP like access it's probably quicker to setup an ftp server. If your just uploading a file and then needing to download that file as well just set attachment in the response header (content-disposition) and force the user to download that image. Jboss really has nothing to do with this in terms of capability. You can write the file anywhere accessible in the system and then based on use case either allow access via web (ie. write to war) or no web acess but a download forced by hitting a page. You could even write outside the war have a page like download?image=imageId and then retrieve image from anywhere on the system. In your response again.. set the content as attachement and force the download. It's really implementation specific, not a jboss deal.
--------------------------------------------------------------
To reply to this message visit the message page: http://community.jboss.org/message/525741#525741
More information about the jboss-user
mailing list