Solved

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

Posted on 2006-10-27
1
161 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
1 Comment
 
LVL 17

Accepted Solution

by:
gops1 earned 500 total points
ID: 17821002
0

Featured Post

Technology Partners: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

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

Use these top 10 tips to master the art of email signature design. Create an email signature design that will easily wow recipients, promote your brand and highlight your professionalism.
This article explains how to prepare an HTML email signature template file containing dynamic placeholders for users' Azure AD data. Furthermore, it explains how to use this file to remotely set up a department-wide email signature policy in Office …
In this Micro Tutorial viewers will learn how to create navigation buttons that change on rollover, using CSS (Continuation of the CSS Image Sprite tutorial) Create a parent ID for all the list items       - Specify position: absolute and display: block…
Video by: Mark
This lesson goes over how to construct ordered and unordered lists and how to create hyperlinks.

756 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