-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Tony,

On 10/19/2009 4:41 PM, Tony Anecito wrote:
> Inside the gz file is a java jar file that was compressed using pack
> 200 compression using an ant task.

So all you should need to do is define a MIME type for .pack.gz. I
suppose using "AddEncoding pack200-gzip .pack.gz" is good enough (note
that this is different from what you had).

You should be able to serve this directly from Apache httpd: Tomcat is
not required.

> I was able to get jnlpdownloadservlet installed (comes with jdk) and
> working on Tomcat 6.0.20. Also, just in case I added an line to my
> jnlp file to support download of the gz files even though that tag is
> only supported via jre 6u10 and above. This new feature for jre 6u10
> and above supposidly does not require the servlet running in Tomcat.

Tomcat should never be required.

> Gee the things I let you Tomcat folks talk me into :-) This was an
> additional task in order to move from the Apache Web Server to Tomcat
> to serve java web start apps.

I don't understand why Tomcat makes any difference, here. httpd ought to
be able to serve a static file with a Content-Encoding header without
any problems.

- -chris
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.10 (MingW32)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/

iEYEARECAAYFAkrc1XIACgkQ9CaO5/Lv0PBnJgCcDGgn5aPEGLuUrQMBKei1K5Ek
XkoAoL3QJtZuMfbn7rj+czKWNnbxefT8
=TBKE
-----END PGP SIGNATURE-----

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org
For additional commands, e-mail: users-h...@tomcat.apache.org

Reply via email to