Bonjour
j'ai un petit probleme concernant la mise à jour des plugins java sous firefox
En effet firefox attend l'authentification au proxy du client sans pour autant ouvrir une popup. Autrement dis firefox plugin finder service attend et tourne dans le vide
Je voulais donc savoir s'il y avait un moyen de forcer une authentification proxy en forcant l'ouverture de la popup
Merci d'avance en esperant avoir été assez claire. Voici mon code si ca peut vouz aidez.
PS: Pour ceux a qui ce message leur rappel qqchose c'est normal puisque je m'etais tromper de forume en le postant dans javafr
Voili voilou
@+ et merci d'avance pour toute vos idée
Chao
<HTML>
<BODY>
<%
String version;
String url;
DtaAdmCAdministrator adm;
String lang;
String poolingPeriod;
WbsConfiguration cfg;
WbsMain lBoAccess;
String componentDisplayName;
String componentType;
adm=(DtaAdmCAdministrator)session.getAttribute("eccadm_adm");
lang=adm.getLanguage();
url="http://"+(String)session.getAttribute("wbs_base_url");
url=url+"/supervision/componentLinks";
version=supervisionVersion.VERSION;
version=version.replace('-','.');
lBoAccess = new WbsMain();
cfg=lBoAccess.getConfiguration();
componentDisplayName=request.getParameter("componentdisplayname");
componentType=request.getParameter("componenttype");
poolingPeriod=new String();
poolingPeriod=poolingPeriod.valueOf(cfg.getPoolingPeriod());
%>
<script language="JavaScript" type="text/javascript">
var _info = navigator.userAgent;
var _ns = false;
var _ns6 = false;
var _ie = (_info.indexOf("MSIE") > 0 && _info.indexOf("Win") > 0 && _info.indexOf("Windows 3.1") < 0);
var _screenwidth =screen.width/2.56;
var _screenheight =screen.height/2.56;
</script>
<comment>
<script language="JavaScript" type="text/javascript">
var _ns = (navigator.appName.indexOf("Netscape") >= 0 && ((_info.indexOf("Win") > 0 && _info.indexOf("Win16") < 0 && java.lang.System.getProperty("os.version").indexOf("3.5") < 0) || (_info.indexOf("Sun") > 0) || (_info.indexOf("Linux") > 0) || (_info.indexOf("AIX") > 0) || (_info.indexOf("OS/2") > 0) || (_info.indexOf("IRIX") > 0)));
var _ns6 = ((_ns == true) && (_info.indexOf("Mozilla/5") >= 0));
</script>
</comment>
<script language="JavaScript" type="text/javascript">
if (_ie == true){
document.write('<object classid = "clsid:8AD9C840-044E-11D1-B3E9-00805F499D93" codebase= "http://java.sun.com/update/1.5.0/jinstall-1_5-windows-i586.cab#Version=5,0,0,7" WIDTH='+ _screenwidth + 'HEIGHT ='+ _screenheight +'>');
document.write('<PARAM NAME = CODE VALUE = "com/******/supervision/applet/links/LinkGraph.class" >');
document.write('<PARAM NAME = ARCHIVE VALUE = "linksApplet.jar" >');
document.write('<PARAM NAME = "type" value = "application/x-java-applet;version=1.5">');
document.write('<PARAM NAME = "scriptable" value = "false">');
document.write('<PARAM NAME = CODEBASE VALUE = "/supervision">');
document.write('<PARAM NAME = class VALUE="LinkGraph">');
document.write('<PARAM NAME = "cache_option" VALUE="Browser">');
document.write('<PARAM NAME = bgcolor VALUE="ffff00">');
document.write('<PARAM NAME = "cache_archive" VALUE="linksApplet.jar">');
document.write('<PARAM NAME = "cache_version" VALUE="<%= version%>">');
document.write('<PARAM NAME = "componentDisplayName" VALUE="<%= componentDisplayName%>">');
document.write('<PARAM NAME = "componentType" VALUE="<%= componentType%>">');
document.write('<PARAM NAME = "urlGetLinks" VALUE="<%= url%>">');
document.write('<PARAM NAME = "appletLanguage" VALUE="<%= lang%>">');
document.writeln('<PARAM NAME = "appletPoolingPeriod" VALUE="<%= poolingPeriod%>">');
}
</script>
<script language="JavaScript" type="text/javascript">
if (_ns == true && _ns6 == true){
document.write('<embed type = "application/x-java-applet;version=1.5" ');
document.write('CODE = "com/******/supervision/applet/links/LinkGraph.class" ');
document.write('ARCHIVE = "linksApplet.jar" ');
document.write('WIDTH ='+_screenwidth);
document.write('HEIGHT = '+_screenheight);
document.write('CODEBASE = "/supervision" ');
document.write('cache_option="Browser" ');
document.write('cache_archive="linksApplet.jar" ');
document.write('cache_version="<%= version%>" ');
document.write('componentDisplayName="<%= componentDisplayName%>" ');
document.write('componentType="<%= componentType%>"');
document.write('urlGetLinks="<%= url%>" ');
document.write('appletLanguage="<%=lang%>" ');
document.write('appletPoolingPeriod="<%= poolingPeriod%>" ');
document.write('class ="LinkGraph" ');
document.write('bgcolor ="ffff00"');
document.write('scriptable = false');
document.writeln('pluginspage = "http://java.sun.com/products/plugin/index.html#download">');
document.writeln('<noembed>');
}
</script>
<p>Sorry you need a java enabled browser to test a java applet ;-)</p>
<p>Don't read the rest, it only contains information about the applet.</p>
</noembed>
</embed>
</object>
</body>
</html>Ronnymoi 