• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Tim Cooke
  • paul wheaton
  • Jeanne Boyarsky
  • Ron McLeod
Sheriffs:
  • Paul Clapham
  • Liutauras Vilda
  • Devaka Cooray
Saloon Keepers:
  • Tim Holloway
  • Roland Mueller
Bartenders:

downloading file from jsr 168 application

 
Greenhorn
Posts: 4
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
I am trying to download a text file from a jsp. Portal server is VAP.
This appplication is deployed and shared to an other site in the portal.

controls from a jsp has been forwarded to the above jsp. Since this is an portlet application so I can not set header,content-type from the first jsp.

Right now whole file is being displayed on browser.
I can also give the code if required.
 
Sunil krishnatry
Greenhorn
Posts: 4
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
May be this is not the right question.
 
Greenhorn
Posts: 28
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
I am also having the same problem.I woked on that for many days,But i couldn't find a solution.But what i came to know is , it is not possible to download a file directly from the porlet.You should go to a non-portlet url.

Please see the link below..

http://opensource.atlassian.com/confluence/spring/pages/viewpage.action?pageId=3132
[ October 03, 2007: Message edited by: Durga Krishna ]
 
Greenhorn
Posts: 20
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hello,
As I understand if I need to download file the separate servlet should be created.
Maybe you could define steps how you did that?
The functionality I need is to give user possibility to download selected file which is stored in DB.
Thanks in advance.
Ina
 
He was giving me directions and I was powerless to resist. I cannot resist this tiny ad:
We need your help - Coderanch server fundraiser
https://coderanch.com/wiki/782867/Coderanch-server-fundraiser
reply
    Bookmark Topic Watch Topic
  • New Topic