Hosting jnlp applications on internet
Hi,
I would like to share my java application packed as jnlp application.
I tried to host it in free web hosting sites like geocities, tripod, bravenet.
But none of them seem to regonize jnlp extn and automatically open with javawebstart.
Are there any free java application hosting sites (while allows to host jnlp applications) available..?
Thanks a lot,
Raja.
> But none of them seem to regonize jnlp extn and
> automatically open with javawebstart.
That's not how it works. The JNLP file is served like any other file (that is, unless the hosting site is blocking it?). Once the file is on the client side, THEN it will start up and look for the supporting jars/files (assuming the client has Java and Web Start installed)
> > But none of them seem to regonize jnlp extn and
> > automatically open with javawebstart.
>
> That's not how it works. The JNLP file is served like
> any other file (that is, unless the hosting site is
> blocking it?). Once the file is on the client side,
> THEN it will start up and look for the supporting
> jars/files (assuming the client has Java and Web
> Start installed)
Not true. You need to have the mime-type set up on the web-server. Maybe you can request that the mime-type be set up.
See http://java.sun.com/docs/books/tutorial/deployment/webstart/deploying.html#server
recent versions of javaws also do not need the mime type of a jnlp file to be returned as aapplication/x-java.jnlp.If the browser is configured to launch javaws for ".jnlp" extensions, you can host jnlp files on servers without that mime type configured..