Looking at your previous posts, i think that you are wasting your time
even thinking about using a java applet. Go back a few steps and think
again, maybe answering the following simple sequence of questions:
1) Your web application server has access to some data somewhere. The
data can be anything, let's call the data "Blurb".
2) You want to allow your users to export "Blurb" from your web server
to a file.
3) The file name shall be supplied by the user via a standard "Save As"
dialog.
4) After the user has chosen the file, "Blurb" is saved in the file.
This is a download link, plain and simple, i.e. a link that points to a
servlet url (see my example earlier) or (as you prefer it) an action url
(see another post in your previous thread on how to accomplish the same
thing with a struts action). If you follow my example, then you get
*EXACTLY* the behavior you desire. No applet. No fumbling around with
FormFile properties. No file upload.
Robert
elyes sallem wrote:
Hello,
after publishing this question, i conclude that it is not possible de get
back the absolute path from FormFile
but the problem is that i import a jar file, in which i call a method that
accept only path of file
so what do you propose, i get the inputstream , then i create temporarly a
file and i delete it at the end
or you have an other ideai?
Thanks
Regards
Elyes.
---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscr...@struts.apache.org
For additional commands, e-mail: user-h...@struts.apache.org