JavaWebStart - Dynamic Open File
Posted: Tue Jun 05, 2012 11:10 am
Hi all, i have a web server containing a web application, an oracle database (containing xml and images refs).
My web app offers a list of the xml documents, for each document, a link is provided to open it in oxygen (distributed via javawebstart).
How do should i say to oxygen to open this document? I know that we could give, in the jnlp file, a list of documents to open, but this list is not dynamic, we have to launch the packager each time...
The documents could be accessed by webdav, or may be other ways.
Another problem is that my xml documents contain references to images, could i use relative path to reference it? With local xml and local images in the same directory, i refer only the image name, will it work if use the same webdav directory.
My web app offers a list of the xml documents, for each document, a link is provided to open it in oxygen (distributed via javawebstart).
How do should i say to oxygen to open this document? I know that we could give, in the jnlp file, a list of documents to open, but this list is not dynamic, we have to launch the packager each time...
The documents could be accessed by webdav, or may be other ways.
Another problem is that my xml documents contain references to images, could i use relative path to reference it? With local xml and local images in the same directory, i refer only the image name, will it work if use the same webdav directory.