• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

newbie help

 
Rajesh kannan
Greenhorn
Posts: 22
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi,

I am trying to install an app using JWS.

What I did, I created a simple jar file,

add that jar file in jnlp file, like this:

<resources>
<j2se version="1.3+"/>
<jar href="tray.jar" />
</resources>

created a simple jsp with a link pointing to jnlp file.

Now what else should I do to install this jar file in my machine ? Please help
 
Shiao Bing
Greenhorn
Posts: 7
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
for simplicity, just put the jar under root folder

%TOMCAT_HOME%/webapps/myapp/tray.jar

In JNLP, reference the jar file like this

<jar href="http://127.0.0.1:8080/myapp/tray.jar" main="true"/>

in real, you won't do this. you will put the jar under

/WEB-INF/lib/tray.jar

and use DownloadServlet to obtain the jar file and stream to client.
 
I agree. Here's the link: http://aspose.com/file-tools
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic