• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

Passing the javax.help.HelpSet constructor URLs with "."s

 
Greenhorn
Posts: 3
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Because the codebase for my app includes full stops, (eg. .co.uk), my web start cache is in a folder with full stops in its name. When I try passing the path for my .hs file to the HelpSet constructor, it dies horribly. This doesn't happen if I don't use the fully qualified URL for my codebase, but then the app can only work if the client machine knows what server I'm referring to. This kind of defeats the object of Web Start so I'd quite like to fix it! I've tried using java.net.URLEncoder.encode but of course that leaves full stops alone, no use to me at all. Can anyone help me out? I assume there must be some way around this, probably a very obvious one.
Cheers
 
author
Posts: 11962
5
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
"Random Username" does not comply with our naming policy so I'll have to ask you to change it.
Thank you.
 
Ian Hand
Greenhorn
Posts: 3
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Right, sorry. Guess I should have actually read that, rather than just assuming it was about offensive names.
 
Don't get me started about those stupid light bulbs.
reply
    Bookmark Topic Watch Topic
  • New Topic