Win a copy of Svelte and Sapper in Action this week in the JavaScript forum!
  • 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 all forums
this forum made possible by our volunteer staff, including ...
  • Campbell Ritchie
  • Ron McLeod
  • Paul Clapham
  • Bear Bibeault
  • Junilu Lacar
  • Jeanne Boyarsky
  • Tim Cooke
  • Henry Wong
Saloon Keepers:
  • Tim Moores
  • Stephan van Hulst
  • Tim Holloway
  • salvin francis
  • Frits Walraven
  • Scott Selikoff
  • Piet Souris
  • Carey Brown

Downloading files

Ranch Hand
Posts: 341
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi !
I have a servlet and here is what it does:
-Dynamically builds a J2ME application using Ant.
-Copies some files of the application to /webapps/dload/apps

Next these files have to be downloaded. I want that download should
start automatically. To achieve this functionality I am using
But download does not start. I am geting the following error on browser:
"The web page cannot be displayed..."
However if I just type the URL, download starts. I get that Open/Save As dialog box.
I am trying to download .JAD file. Right now I am just using Internet
Explorer. But in reality a WML page will send request to this servlet and then .JAD file will be downloaded to the cell-phone.
I need some help with this. Thanks in advance.
[ February 27, 2004: Message edited by: Danish Shaukat ]
With a little knowledge, a cast iron skillet is non-stick and lasts a lifetime.
    Bookmark Topic Watch Topic
  • New Topic