This week's book giveaway is in the OO, Patterns, UML and Refactoring forum.
We're giving away four copies of Refactoring for Software Design Smells: Managing Technical Debt and have Girish Suryanarayana, Ganesh Samarthyam & Tushar Sharma on-line!
See this thread for details.
The moose likes JNLP and Web Start and the fly likes Java Web Start with external files Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login

JavaRanch » Java Forums » Java » JNLP and Web Start
Bookmark "Java Web Start with external files" Watch "Java Web Start with external files" New topic

Java Web Start with external files

Edio Kunhasky Junior

Joined: Feb 08, 2007
Posts: 2

I made an application that's running by JNLP, and it's ok. But, I need to load an external file from that (a kind of file.conf, it needs to be out from jar).

When I open on web (http://localhost:8080/aplicacao/start.jnlp), it doesn�t find this external file, but, when I click 2x on start.jnlp local, it find. So, the application run on 2 situations (local and web), but just don't open the external file when I try it on web.

Can I set any "fileset" in my jnlp to find this file on two that cases? Or, if this application always run on jnlp, exists any way to get the "codebase" from jnlp to get this file from url direct?

[ December 10, 2007: Message edited by: Edio Kunhasky Junior ]
I’ve looked at a lot of different solutions, and in my humble opinion Aspose is the way to go. Here’s the link:
subject: Java Web Start with external files
It's not a secret anymore!