Skip to Content
author's profile photo Former Member
Former Member

Generating byte[] and FileDownload in one step

Hi there,

i'm developing an wdp application with a java-backend.

Now there is an iview with a linktoaction, which creates some excel-documents from the database (The backend returns the byte[]). Then there is the FileDownload component to download this generated excelfile.

Well, this works quite good but i don't like it....

The Question:

Is there a possibility of combining the two steps (generating file and starting the download)? So, the user clicks on the Generate File Button or Link and automatically gets a request for a filedownload?

Greetings

Sascha

Add a comment
10|10000 characters needed characters exceeded

Assigned Tags

Related questions

2 Answers

  • Best Answer
    author's profile photo Former Member
    Former Member
    Posted on Dec 21, 2007 at 11:23 AM

    Which Web Dynpro release are you using?

    Armin

    Add a comment
    10|10000 characters needed characters exceeded

  • author's profile photo Former Member
    Former Member
    Posted on Jan 30, 2008 at 04:42 PM

    can you tell me, how can I create an excel-document from database content using POI?

    Is there another way?

    thanks.

    Add a comment
    10|10000 characters needed characters exceeded

Before answering

You should only submit an answer when you are proposing a solution to the poster's problem. If you want the poster to clarify the question or provide more information, please leave a comment instead, requesting additional details. When answering, please include specifics, such as step-by-step instructions, context for the solution, and links to useful resources. Also, please make sure that you answer complies with our Rules of Engagement.
You must be Logged in to submit an answer.

Up to 10 attachments (including images) can be used with a maximum of 1.0 MB each and 10.5 MB total.