Solved

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

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

3 Use Cases for Connected Systems

Our Dev teams are like yours. They’re continually cranking out code for new features/bugs fixes, testing, deploying, testing some more, responding to production monitoring events and more. It’s complex. So, we thought you’d like to see what’s working for us.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
ASP.net Fit 3 divs on screen side by side 3 26
Html5 string 3 22
Html test in IIS 4 20
CSS: How do I override in-line styling 11 15
In this article you will learn how to create a free basic website on Bitbucket, a git service provider. Polymer creates dynamic HTML components, which allow more flexibility than static HTML. This tutorial uses Ubuntu Linux but can also be done on W…
Before we dive into the marketing strategies involved with creating an effective homepage, it’s crucial that EE members know what a homepage is. In essence, a homepage is the introductory, or default page, of a website that typically highlights the …
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…
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…

773 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