Solved

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

Posted on 2006-10-27
1
160 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

Free Tool: SSL Checker

Scans your site and returns information about your SSL implementation and certificate. Helpful for debugging and validating your SSL configuration.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

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

Suggested Solutions

Not sure what the best email signature size is? Are you worried about email signature image size? Follow this best practice guide.
When crafting your “Why Us” page, there are a plethora of pitfalls to avoid. Follow these five tips, and you’ll be well on your way to creating an effective page.
In this tutorial viewers will learn how add a scalable full-width header using CSS3. Create a new HTML document with an internal stylesheet. Set a tiled background.:  Create a new div and name it Header. Position it with position:absolute at the top…
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…

856 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