aspose 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 EJB 3 in Action this week in the EJB and other Java EE Technologies 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: 9990
    
    7

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: 9990
    
    7

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
 
Similar Threads
standard output screen
Servlets and Javawebserver
How to make Swing App Web Enabled
is applet still important in java ?
to view jws from an EAR