Win a copy of Design for the Mind this week in the Design forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

calling servlet from JWS application

 
Maneesh Godbole
Saloon Keeper
Posts: 11021
12
Android Eclipse IDE Google Web Toolkit Java Mac Ubuntu
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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?
 
Maneesh Godbole
Saloon Keeper
Posts: 11021
12
Android Eclipse IDE Google Web Toolkit Java Mac Ubuntu
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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")
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic