on 08-11-2004 12:01 PM
Hello,
My WebDynpro application must support download functionality. I have implemented this with the help of FileDownload component. So the user can start Webdynpro application in browser and download some xml files.
But additionally it must be possible to access the download of file directly by URL: for example
....
<i>URL download = new URL(urlToWebDynpro);</i>
// get file
......
Is it possible to do with WebDynpro?
Thanks in advance
With best regards
Belenki Michael
But how can i integrate a download-servlet into my WebDynpro project?
I mean my xml files are included into WebDynpro project.
with best regards
Michael
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hello Michael,
I can think of no way how you could make your Web Dynpro application act like a servlet and return a file instead of an HTML page containing a UI.
Inside your Web Dynpro application, you can find out a URL that can be used from outside to download a certain file, even one that is stored in a context attribute. But that would be of limited use because your other Java application on the outside has no good way to learn that URL.
Thus I agree with Stefan that it sounds more promising to directly program a servlet in this case.
Best regards,
Thomas
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
I do not understand your question. What do you mean by "urlToWebDynpro"? Can you give some more info?
Armin
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
I want to access the download function of my WebDynpro application from my own java-application.
For example:
http://localhost:50000/webdynpro/dispatcher/local/WebDynpro_Tool/ToolApp?download&filename=test
After requesting this url, WebDynpro should return requested file as octeat-download stream.
User | Count |
---|---|
94 | |
11 | |
10 | |
9 | |
9 | |
7 | |
6 | |
5 | |
4 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.