Hi all, Problem in retrieving the value of the form variable. Followed these steps: Created .jar file out of the .class file generated. jnlp file is working fine and the dialog box for open / save file is opening. but not able to get to file path.
Can you please help out on this..........

Same problem.pls help

Please show your code.

Here is my code....


<?xml version="1.0" encoding="UTF-8"?>
<jnlp spec="1.0+" codebase="http://127.0.0.1:8080/" href="importServer.jnlp">
<information>
<title>Dynamic Tree Demo</title>
<vendor>Dynamic Team</vendor>
</information>
<resources>
<!-- Application Resources -->
<j2se version="1.6+" href="http://java.sun.com/products/autodl/j2se"/>
<jar href="importServer.jar" main="true" />
</resources>
<application-desc
name="Dynamic Tree Demo Application"
main-class="importFile.importServer"
width="300"
height="300">
</application-desc>
<update check="background"/>
</jnlp>

not able to get to file path.

Where is your code that is trying to get the file path?

The problem is the method to get the file path is not clear.... Need guidance on that.

Where is the file path in the code that you posted?

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.