Sponsored Link •
|
Advertisement
|
Advertisement
|
This page contains an archived post to the Java Answers Forum made prior to February 25, 2002. If you wish to participate in discussions, please visit the new Artima Forums.
Message:
Brian, Thank you very much for the help. I am using Forte v3.0 as my IDE and had tried creating a jar file with their built-in Jar tool (it creates a file named "xxx.jarContent"). However, when I tried using on the web site (and inserting the "archive" lines in the calling web page), it failed with an "unable to find class xxxx" error. However, I just tried using JAR32.exe, and that worked properly. I guess the Forte tool is N/G. The current syntax I'm using for getting the icon file is: URL hURL = AppletObject.getClass().getResource("name.gif"); According to the documentation I've looked up, the format of the auth header is: "Authorization: Basic username:password" where the "username:password" string is Base64-encoded as you indicated. But the question is, how would I add this header to the URL object above? Thanks,
> > Every time you make a request to the server to get an image, include this header value.
Replies:
|
Sponsored Links
|