Forum Stats

  • 3,872,035 Users
  • 2,266,368 Discussions
  • 7,911,033 Comments

Discussions

protected access to gif url - problem with extension GIF uppercase !!

843807
843807 Member Posts: 46,582
edited Sep 22, 2002 9:26AM in Java Applet Development
Hi all !!
Several months ago, I got a strange problem to access to a gif url from an applet. In fact the web directory had a protected access (login/password) and using java plugin (1.3.1) I still received a dialog box asking me the login/password each time I wanted to access a gif image, very annoying endeed but I found out a solution that works even it is not the summun of perfection !!!
(see topic http://forum.java.sun.com/thread.jsp?forum=60&thread=249463 )
Working again on this applet today, I have just realised that if the image takes the extension ".GIF" (uppercase) the dialog box appears and if the extension is ".gif" (lowercase) it doesn't appear !!!!
So is there a way to get round this problem and to a request to a "GIF" file like a "gif" one ??

Comments

  • 843807
    843807 Member Posts: 46,582
    Just a remark :
    If the image name is mypic.xyz it is the same than mypic.GIF, that is to say :
    1 - Dialog box appears asking me for login/password
    2 - After giving it good informations, "mypic" is good displayed in the applet !!
    With .gif extension I never get this dialog box, I think that plugin 1.3.1 under windows NT just understand .gif extension (lowercase) for gif image, but it is possible make understanding java plugin that .GIF (or .xyz) is also a good extension for gif image ?
This discussion has been closed.