This week's book giveaway is in the Servlets forum.
We're giving away four copies of Murach's Java Servlets and JSP and have Joel Murach on-line!
See this thread for details.
The moose likes Applets and the fly likes Authentication Prompt Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Murach's Java Servlets and JSP this week in the Servlets forum!
JavaRanch » Java Forums » Java » Applets
Bookmark "Authentication Prompt" Watch "Authentication Prompt" New topic
Author

Authentication Prompt

Rob Hunter
Ranch Hand

Joined: Apr 09, 2002
Posts: 815
I had an applet embedded on one of my pages which resides on a web server (intranet). When I used to open the page on my PC the applet loaded fine without needing anything. I changed the class from being in the same directory as the webpage to being in a package relative to the webpage
For example, /cgi-bin/dir2/dir3/dir4, the webpage is in cgi-bin and the class file is packaged in dir2.dir3.dir4.
When I try to open the page now I get a "Authentication Required" login window popup. What do I have to do to get rid of this window since I wasn't getting it before? I don't want to rely on the client having to do anything as they didn't have to before now. Any suggestions would be appreciated. Thanks.
Rob Hunter
Ranch Hand

Joined: Apr 09, 2002
Posts: 815
Disregard last post. Apparently the applet was moved so the path specified in the webpage no longer exists.
 
It is sorta covered in the JavaRanch Style Guide.
 
subject: Authentication Prompt
 
Similar Threads
Basic Ant excludes question
File object can't find directory
Moving files in java
Development: trouble with import and classpath
Invoking "java" in WEB-INF/classes