Solved

I don't want my .JAR file to be int he cache !

Posted on 2006-10-27
1
158 Views
Last Modified: 2013-11-18
Hi,

How do u avoid a .jar file to store in cache ?
I ahve the following code,
it's an applet




<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8"/>
<link rel="stylesheet" type="text/css" href="css/main.css"/>
<link rel="stylesheet" type="text/css" href="css/contenuChat2.css"/>

<title>Le Hall</title>
</head>
<body bgcolor="#e4e4e4" border="0" id="body" onResize="resize()" onLoad="resize()">

      <%
            System.out.println(">> "+application.getAttribute("urlErreur"));
            System.out.println(">> "+getServletContext().getAttribute("urlErreur"));
            metier.IUtilisateur util = (metier.IUtilisateur) session.getAttribute("utilisateur");
            if(util == null) {
                  request.setAttribute("page", application.getAttribute("urlErreur"));
                  request.setAttribute("do","loginRequis");
      %>
                  <jsp:forward page="index.html" ></jsp:forward>
      <%
            }

      %>
      <div id="contenu">
            <!--"CONVERTED_APPLET"-->
<!-- HTML CONVERTER -->
<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,5"
    WIDTH = "100%" HEIGHT = "100%" NAME = "LeHall" >
    <PARAM NAME = CODE VALUE = "client/ui/ClientApplet.class" >
    <PARAM NAME = ARCHIVE VALUE = "Client.jar" >
    <PARAM NAME = NAME VALUE = "LeHall" >
    <param name = "type" value = "application/x-java-applet;version=1.5">
    <param name = "scriptable" value = "false">
    <PARAM NAME = "debug" VALUE="0"/>
    <PARAM NAME = "pseudo" VALUE="<%= util.getLogin() %>"/>
    <PARAM NAME = "password" VALUE="<%= util.getPasse() %>"/>
    <PARAM NAME = "age" VALUE="<%= request.getAttribute("age") %>"/>
    <PARAM NAME = "ville" VALUE="<%= request.getAttribute("ville") %>"/>
    <PARAM NAME = "sexe" VALUE="<%= request.getAttribute("sexe") %>"/>
    <PARAM NAME = "salon" VALUE="<%= request.getAttribute("salon") %>"/>

    <comment>
      <embed
            type = "application/x-java-applet;version=1.5" \
            CODE = "client/ui/ClientApplet.class" \
            ARCHIVE = "Client.jar" \
            NAME = "LeHall" \
            WIDTH = "100%" \
            HEIGHT = "100%" \
            debug ="1"/ \
            pseudo ="<%= util.getLogin() %>"/ \
            password ="<%= util.getPasse() %>"/ \
            age ="<%= request.getAttribute("age") %>"/ \
            ville ="<%= request.getAttribute("ville") %>"/ \
            sexe ="<%= request.getAttribute("sexe") %>"/ \
            salon ="<%= request.getAttribute("salon") %>"/
          scriptable = false
          pluginspage = "http://java.sun.com/products/plugin/index.html#download">
          <noembed>
            <hr>Impossible de charger l'applet.</hr>
            </noembed>
      </embed>
    </comment>
</object>

<!--
<APPLET CODE = "client/ui/ClientApplet.class" ARCHIVE = "Client.jar" WIDTH = "100%" HEIGHT = "100%" NAME = "LeHall">
<PARAM NAME = "debug" VALUE="1"/>
<PARAM NAME = "pseudo" VALUE="<%= util.getLogin() %>"/>
<PARAM NAME = "password" VALUE="<%= util.getPasse() %>"/>
<PARAM NAME = "age" VALUE="<%= request.getAttribute("age") %>"/>
<PARAM NAME = "ville" VALUE="<%= request.getAttribute("ville") %>"/>
<PARAM NAME = "sexe" VALUE="<%= request.getAttribute("sexe") %>"/>
<PARAM NAME = "salon" VALUE="<%= request.getAttribute("salon") %>"/>
<hr>Impossible de charger l'applet.</hr>

</APPLET>
-->
<!--"END_CONVERTED_APPLET"-->

      </div>

</body>
</html>
0
Comment
Question by:matthew016
1 Comment
 
LVL 17

Accepted Solution

by:
gops1 earned 500 total points
ID: 17821002
0

Featured Post

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

This article discusses how to create an extensible mechanism for linked drop downs.
Find out what you should include to make the best professional email signature for your organization.
The viewer will learn the benefit of using external CSS files and the relationship between class and ID selectors. Create your external css file by saving it as style.css then set up your style tags: (CODE) Reference the nav tag and set your prop…
HTML5 has deprecated a few of the older ways of showing media as well as offering up a new way to create games and animations. Audio, video, and canvas are just a few of the adjustments made between XHTML and HTML5. As we learned in our last micr…

896 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

17 Experts available now in Live!

Get 1:1 Help Now