Reply to Re: Execute Java program from file extension

Your name:

Reply:


Posted by Toby A Inkster on 11/15/83 12:00

nospam wrote:

> Basically, I've been given a Java program to execute on client side.
> When the user hits the "Download" button, the server creates an XML
> file and send it to the client as a file with the file extension ".rcm".
> This file extension has already been registered via an install program
> on the client.

You want to set up the MIME-Type "application/x-rcm+xml" on the client
and server.

That is, in the client's browser settings, configure
"application/x-rcm+xml" to be opened with your Java program. On the
server, configure the web server software (e.g. Apache) to send a
"Content-Type: application/x-rcm+xml" header when it serves the file.

--
Toby A Inkster BSc (Hons) ARCS
[Geek of HTML/SQL/Perl/PHP/Python/Apache/Linux]
[OS: Linux 2.6.17.14-mm-desktop-9mdvsmp, up 18 days, 4 min.]

Gnocchi all'Amatriciana al Forno
http://tobyinkster.co.uk/blog/2008/01/15/gnocchi-allamatriciana/

[Back to original message]


Удаленная работа для программистов  •  Как заработать на Google AdSense  •  England, UK  •  статьи на английском  •  PHP MySQL CMS Apache Oscommerce  •  Online Business Knowledge Base  •  DVD MP3 AVI MP4 players codecs conversion help
Home  •  Search  •  Site Map  •  Set as Homepage  •  Add to Favourites

Copyright © 2005-2006 Powered by Custom PHP Programming

Сайт изготовлен в Студии Валентина Петручека
изготовление и поддержка веб-сайтов, разработка программного обеспечения, поисковая оптимизация