• 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
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

How to download(open) links, stored in XML file using Netscape6.0

 
Ranch Hand
Posts: 66
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Friends,
I have struck at one problem in Netscape6.0
I have created one Briefcase( which stores files in config.xml and listed in a page in the form of href links)using JSP
These links opens perfectly in IE5.0 but not in Netscape6.0. One pop up message comes that mozilla does not recognize these file type. save the file or cancel. It can't open it.
Is there problem in MIME types? How to set?
How to solve these problem?

Pl. reply..
S. Oza
sandeepo@bsil.com
 
Author and all-around good cowpoke
Posts: 13078
6
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Have you configured a "handler" for that MIME type in your Netscape?
Bill
 
Ranch Hand
Posts: 233
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
hi,
In IE many things well be assumed like if some html tags missing or some header missing there by your code will be working fine with IE. But real test would be in netscape which you have done. So i feel some mistake in your code itself but not with Netscape.
This is what i can say by the data you have provided.
-arun
 
Sandeep. Oza
Ranch Hand
Posts: 66
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Thank you Bill,
for your quick reply..
But.. how to configure "handler" for say Application/msword in Netscape?
In edit..preferences..Navigator..Helper applications i have added these file type..
but it doesn't make any difference.
S.Oza
 
Sandeep. Oza
Ranch Hand
Posts: 66
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Thankx Arun,
Pl. find following my small patch of code..
May be you are right, some thing will be wrong in my code or i have missed...
<%
String filesep = System.getProperty("file.separator");
String sourceFilePathName = getServletContext().getRealPath("/abc/Briefcase/"+session.getAttribute("xyz")+filesep+session.getAttribute("pqr")+filesep+URLDecoder.decode((String)(request.getParameter("Nameof file"))));
download.downloadFile(sourceFilePathName);
response.getOutputStream().close();

%>
 
Hoo hoo hoo! Looks like we got a live one! Here, wave this tiny ad at it:
a bit of art, as a gift, the permaculture playing cards
https://gardener-gift.com
reply
    Bookmark Topic Watch Topic
  • New Topic