Welcome to a typing tutor you can start with JNLP.
use php to do the mime type?
Many thanks to SourceForge.net!
Try
this