File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
The moose likes JNLP and Web Start and the fly likes calling servlet from JWS application Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Spring in Action this week in the Spring forum!
JavaRanch » Java Forums » Java » JNLP and Web Start
Bookmark "calling servlet from JWS application" Watch "calling servlet from JWS application" New topic
Author

calling servlet from JWS application

Maneesh Godbole
Saloon Keeper

Joined: Jul 26, 2007
Posts: 10451
    
    8

I am trying to convert an applet into a JWS deployed application.
How can I get the codeBase from the application?
I need to exchange data between the application and a servlet. Both are hosted on the same server.

Can anybody point me in the right direction please?


[How to ask questions] [Donate a pint, save a life!] [Onff-turn it on!]
Maneesh Godbole
Saloon Keeper

Joined: Jul 26, 2007
Posts: 10451
    
    8

Ok.
I got it. I modified the JNLP to include the "codebase" property name and value, signed the jar and now I am able to get it by System.getProperty("codebase")
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: calling servlet from JWS application