Have Struts forward to a servlet?

Discussion in 'Java' started by richardsosborn@gmail.com, Oct 19, 2005.

  1. Guest

    We have a situation where we need to create a XLS file from a web
    application.
    The only way we could come up to create the file and have it DL to the
    browser
    was by forwarding to a servlet. Then the servlet would create the file
    and send it to the client. The XLS file would be mapped as a MIME type
    in the web.xml.
    Problem is, can struts forward to a servlet? If so, what would the
    line look like?

    <forward name="excel_file" path="/reports/my_servlet"/>
    , Oct 19, 2005
    #1
    1. Advertising

Want to reply to this thread or ask your own question?

It takes just 2 minutes to sign up (and it's free!). Just click the sign up button to choose a username and then you can ask your own questions on the forum.
Similar Threads
  1. Mladen Adamovic
    Replies:
    3
    Views:
    4,153
    Mladen Adamovic
    Nov 16, 2003
  2. javaguy44
    Replies:
    0
    Views:
    493
    javaguy44
    Apr 1, 2004
  3. javaguy44
    Replies:
    0
    Views:
    2,651
    javaguy44
    Apr 1, 2004
  4. circuit_breaker
    Replies:
    2
    Views:
    1,993
    Jack Jia
    Apr 4, 2004
  5. qazmlp
    Replies:
    1
    Views:
    593
    Jonathan Turkanis
    Feb 15, 2004
Loading...

Share This Page