Solved

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

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

What Is Threat Intelligence?

Threat intelligence is often discussed, but rarely understood. Starting with a precise definition, along with clear business goals, is essential.

Join & Write a Comment

SASS allows you to treat your CSS code in a more OOP way. Let's have a look on how you can structure your code in order for it to be easily maintained and reused.
Have you tried to learn about Unicode, UTF-8, and multibyte text encoding and all the articles are just too "academic" or too technical? This article aims to make the whole topic easy for just about anyone to understand.
The purpose of this video is to demonstrate how to set up the WordPress backend so that each page automatically generates a Mailchimp signup form in the sidebar. This will be demonstrated using a Windows 8 PC. Tools Used are Photoshop, Awesome…
The viewer will the learn the benefit of plain text editors and code an HTML5 based template for use in further tutorials.

743 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

13 Experts available now in Live!

Get 1:1 Help Now