[jdom-interest] Use of JDOM in JNLP environment

Alexander Schatten alasan at gmx.net
Tue May 1 06:19:58 PDT 2001


O.K. I admit: this may be a strange problem, but however:

I use JDOM in a JNLP (Webstart Application). this works basically, but
as I do not use a signed application, I use the jnlp interface to get
access to the clients file system and receive an input stream via jnlp.

I can now initialize JDOM with this input stream and it parses the
document. with one exception: if the document references a DTD: JDOM
tries to open a connection (stream) to the filesystem, and this is
obviously forbidden in JNLP. only streams via JNLP api are allowed as
the user is notified when the application tries to access the system.

has anyone an idea about how to solve this problem.

If you are interested you can take a look at the application:

http://popowa.ifs.tuwien.ac.at:8016/xmlapp/xml-validator.html (Java
Webstart 1.0 required)


thanks


Alex




More information about the jdom-interest mailing list