Signed Applet behind proxy accessing servlet on different server

I am currently developing Intranet-Chat Application using applet-Servlet Communication based upon example given by Sun people. Had anyone had used this for intranet (proxy) & does it work in Intranet? When i run this on server different from intranet, Client was able to connect from direct inter ...

Signed Applet-Servlet Communication (CHAT)

I am currently developing Intranet-Chat Application using applet-Servlet Communication based upon example given by Sun people. Had anyone had used this for intranet (proxy) & does it work in Intranet? When i run this on server different from intranet, Client was able to connect from direct inter ...

Servlet returning Applet embedded in HTML

I've coded a simple servlet(Series1) which has to return an applet embedded in a HTML. I've loaded the servlet onJavaWebserver1.1.3, I also placed the applet(.class) in the servlets directory under JavaWebserver1.1.3. when i'mtrying to invoke the servlet from Netscape communicator 4.5, i'm getting t ...

Ubuntu java load problems

Upon invoking firefox, and going to a web page that uses java (web page for qlogic fibre switch) I get the following:java version "1.6.0_20"OpenJDK Runtime Environment (IcedTea6 1.9.5) (6b20-1.9.5-0ubuntu1~10.04.1)OpenJDK Server VM (build 19.0-b09, mixed mode)java.util.zip.ZipException: er ...

FileNotFound exception in applet

/********************************** Program Name: Task2.java * * Date: 27 Janauary 2008 ** Programmer: Dhanandjay MOTAH **********************************/import java.awt.*;import java.awt.event.*;import javax.swing.*;import java.awt.Graphics.*;import java.applet.Applet;public class Task1 extends JA ...

Null pointer exception while getting other applet in the same page

I am getting Null pointer exception while getting other applet in the same page, can guide what i am doing wronghere is demo code// First appletimport java.applet.Applet;public class Applet1 extends javax.swing.JApplet {Applet applet1 = null;public void init() {try {java.awt.EventQueue.invokeAndWait ...

Midi applet exception:javax.soun d.midi.MidiUnavailab leException: MIDI OUT transmitter

I build an applet that plays midi files from a server. The problem is when I start playing the file (MidiSystem.getSequencer()).. it gives me this error in the java console and nothing plays:SEVERE: nulljavax.sound.midi.MidiUnavailableException: MIDI OUT transmitter not availableat com.sun.media.sou ...

Java Applet Exception :java.io.StreamCorruptedException: invalid stream header

I am developing small application of an applet which sends string to Servlet and vice versa. but i am getting above exception.I am herewith posting my code.Can anyone tell me What could be wrong in my code.Code For applet1.javaimport java.applet.Applet;import java.awt.*;import java.awt.event.*;impor ...

getImage Applet NULL POINTER eXCEPTION

I am having trouble pulling an image from a website. I think that I can use getImage but in the following code, it returns a NULL Pointer Exception. 1)Is this the correct method to use.2)Any idea as to why I get a NULL Pointer Exception and how would I fix this.Thanks,Pedroimport java.applet.Applet; ...

Exception: JFileChooser (in Applet)

I have developed a program and I thought it would be neat if I make it web enable. The program is exactly the same. I.e. in my applet class, I just instantiate my application class so it brings out the program in a new window.OK, the program runs very well using the "java" command. But whe ...

File exception in applet

I am writing an appliet which retrieves the lastModidfied time of an image file located on the same location as the applet. I created a File object with the URL to the file, and tried to call a member method such as lastModified(), I get an exception. If I test it on my local machine, it works, if I ...

Java Exception 6A80 while setting Triple DES key inside the applet constructor

In the applet definition part, I am having these definition:public static final byte DEFAULT_PERSO_KEY_SET_REFERENCE = (byte) 0x81; public static final byte[] DEFAULT_PERSO_KEY_SET_ENC = { (byte) 0x52, (byte) 0x57, (byte) 0x4d, (byte) 0x41, (byte) 0x43, (byte) 0x45, (byte) 0x43, (byte) 0x48, (byte) ...

Access Control Exception vs. Applet Viewer

I have a weird question. I'm trying to access a .txt file from a java applet, which would reside locally. When running this with the applet viewer, everything works fine. When you click on the .html file, however, you get an accesscontrolexception. I find it weird that the applet viewer works fine, ...

Applet connecting to MSSQL causing socket exception

I am trying to connect to a MSSQL database from within an applet. This is in a corporate setting so unfortunately I don't have access to the admin tools of the database and I also don't have access to enable/disable my firewall to see if that is the problem or not. As far as firewalls go, I can exec ...

cannot catch security exception in applet

typingArea is a textarea. This code will copy the text in appletviewer. When I run it in the browser, the text won't get copied because the applet doesn't have access to the clipboard.Now the problem is that the catch statement doesn't work. There is no frame alerting the user!try { typingArea.copy( ...

Java - converting from an applet...

Sorry if this is not a JAVA forum but as the problem is general oop, i thought someone might be able to help.Basically i have the following example: import java.awt.*; import java.applet.*; public class Project37 extends Applet implements Runnable { Thread runner; Image Buffer; Graphics gBuffer; Str ...

load applet problem

I've written an applet that works fine in appletviewer but when I try it on my webserver it says it can't load the class file. i've tried just on a browser with the html file nad the class file in the same directory but that won't work either. it seems I can't attach the file(.java is'nt allowed) so ...

applet securiy issue

I'm currently learning the coding side of java applets. I have created a .class file and am trying to open a socket to the same macine.I get the following error:exception: com.ms.security.SecurityExceptionEx[test.init]; cannot connect to "192.168.x.x"I've read about and it's obviously some ...

I/O Exception

I have created an applet that will read from a specified file in a specified location....The applet is getting executed without any hastles in the local machine's Internet Explorer....If the same applet is loaded on to Microsoft Internet Information Server, it is throwing the following exception:com ...

Ubuntu No access to website java applet

all - I'm trying to use a website www.jmeeting.com. There is a java applet that is supposed to run to see the chat rooms and cams but every time I go to the site I get an error message "Exception starting applet". I have installed the sun jave -jre from the Synaptic package manager and am ...

Java Applet Error

I'm getting an error running a java program. I'm using NetBeans for a Web project. The page works, the java program has errors:load: class ../factorial.java not found.java.lang.ClassNotFoundException: ...factorial.javaat sun.plugin2.applet.Applet2ClassLoader.findClass(Unknown Source)at java.lang.Cla ...

applet problem...

I am trying to develop a messenger type UI in an applet (in which the JTREE gets populated from the database based on the users who are logged in) . I am using tomcat as my webserver and mysql as my db server.When I access my applet by simply clicking on the html file it works fine.....I can see the ...

problem reading xml file from mac os using applet

Every once in a while, I get the following exception when trying to read in my XML file. The file looks ok and seems to be valid. Any hints would be appreciated.I am trying to read the config file in mac os via applet and i get the above error.The same file while read form windows system works prope ...

Applet Can't access MySQL DB with Java on Linux

I'm getting the following error while trying to run an applet to access a db on my linux (RH) server.java.sql.SQLException: Unable to connect to any hosts due to exception: java.security.AccessControlException: access denied (java.util.PropertyPermission file.encoding read)I know that the driver is ...

Oracle SocketPermission & Uncaught Java Exception Problems

I'm trying to run a applet that uses BC4J.But I'm getting a SocketPermission - resolve-connect - problem.When I try to grant "connect-resolve" permissions using the DBMS_JAVA procedure, EXEC DBMS_JAVA.GRANT_PERMISSION('CONFIG','SYS:java.net.SocketPermision', '3.8.180.87', 'connect,resolve');I'm gett ...

Making a ball move down and up in an Applet

I took a course in C and now im into java. I never created anywith graphics in C. I need to finish a program in C that makes a red ball appear on a blue background and then move down and up the screen.Any information of how to at least draw an oval or make it move would help...I know that I need to ...

applet not showing up

My applet is not showing up in a web page, and all of the code is correct...I'll post it and the html code:// import all need packagesimport java.awt.*;import javax.swing.*;import java.awt.event.*;import java.applet.*;//extend JFrame for the user interface and actionlistener for eventspublic class L ...

Custom CharsetProvider doesn't get loaded in signed applet

I've been through all the documentation here, I've been searching this problem for a while now but could not find any solution. I created a custom CharsetProvider the following way :created a class extending Charset doing my custom encoding created a class extending CharsetProvider returning the pre ...

Doubt in Applet Program

everyone iam trying to learn awt and applets. The code below has compiled well but when i run it iam getting an Exception in thread main "Java.lang.NoSuchMethodError". Could any1 pls tell me where i have gone wrong.import java.awt.*;import java.applet.*;import java.awt.event.*;public class ...

Viewer Applet problems.

I'm having an issue with the Viewer applet. My IICE version is 8.3 FP3.I'm attempting to view, using the IICE WebClient, a tiff image inside a CM repository. The properties load correctly, but the applet will not load. HTML rendered content (MS Project, Excel etc) works fine, just not the View apple ...

WEBi applet viewer error: The server failed while accessing folder data

I can connect to CMOD by WEBi, browse folders and do everything (send by email, print, etc.) with documents but viewing.WEBi applet viewer fails to retrieve documents with the following error: Exception thrown while retrieving document: The server failed while accessing folder dataI did not find any ...

Applet File Permission !!

This a problem i faced .When i made applet the access file i faced the following exception:java.security.AccessControlException: access denied (java.io.FilePermission text.txt read)at java.security.AccessControlContext.checkPermission(Unknown Source)at java.security.AccessController.checkPermission( ...

java.security.AccessControlException running Applt.java sample applet

i am running db2 express-c v 9.7.0.441and am trying to run the sample Applt.java code, but keep getting this access denied error.the same thing happens with both the browser and appletviewer.the error is on the getConnection() command.the original supplied code passing the parms from the html code g ...

Applet and i/o

Here is my code for an applet in java it runs well but shows errorunreported exception java.io.IOException; at the functions highlighted in green I wanna ask the functions i've highlighted highlighted in green in code are supported in applets?Thnx in advance/* * Java(TM) SE 6 version.*/import java.a ...

Exception in thread "AWT-EventQueue-2" java.lang.NoClassDef FoundError

Could anybody help me in this particular error.. Exception in thread "AWT-EventQueue-2" java.lang.NoClassDefFoundError: com/../../ Basically, I am loading up the applet on HTML page, which includes all the jars required.But it still gives me the above error.The jar which has the com packag ...

assist on this exception

import java.awt.*;import javax.swing.*;import java.awt.event.*;import javax.swing.event.*;import javax.swing.event.*;import java.util.Calendar;import java.util.Date;import java.util.GregorianCalendar;public class MyPaint extends JApplet implements Runnable {/* Declaring the variables.*/JPanel panel; ...

assist on this exception

import java.awt.*;import javax.swing.*;import java.awt.event.*;import javax.swing.event.*;import javax.swing.event.*;import java.util.Calendar;import java.util.Date;import java.util.GregorianCalendar;public class MyPaint extends JApplet implements Runnable {/* Declaring the variables.*/JPanel panel; ...

Urgent help on Applet

there.This is my first post here.I need help urgently.I getting desperate because I got a deadline for a project in 3 weeks time.I'm trying to do a 2 X 2 matrix multiplication applet that simulate systolic architecture.Should be something like the Wallace Tree Simulation. It can be seen here: http:/ ...

java application to applet

i have written following java application in java and now i wnt to convert it into java applet,so an anybody help me out,plz.thanx in advance.import java.awt.*;import java.io.*;import java.awt.event.*;import javax.swing.*;import java.util.*;import java.text.*;import javax.swing.event.*; import javax ...

Applet is not displaying update image

i am woring on a project that finds the CPU temprature and shows in the graph. I am using applet to disply this.The CPU temp program is running and fter every minute the Image is modifed but when i m displaying the updated image in the applet it fails to load the updated image and shows the previous ...

Applet connect Access database on the desktop

I am trying to use applet to connect Microsoft access database on my desktop.Here is a simple script:import java.applet.Applet;import java.applet.AppletContext;import java.net.URL;import java.net.URLEncoder;import java.util.*;import java.sql.*;import java.lang.*;public class search2 extends Applet{S ...

Unable to pass query parameter from Applet to Servlet in Websphere SSE

Iam facing the problem when iam working with Websphere SSE iam passing query parameter from Applet to Servlet but iam not getting the parameter value inside the servlet, the value is coming null.But the same is working with Weblogic 6.1 Code Snippet i have written in my Applet is :/***************** ...

Persistent servlet-applet streams. SERVLET: java.io.EOFException APPLET: http error 500

I'm new to servlet programming. Though I've successfully setup a connection between an applet and a servlet I want to do more then one write or read on the stream between my applet and servlet.APPLET:codeprivate String location = new String ("http://localhost:8080/Message/MessageServlet");private UR ...

how to access files on disk from applet?

i am an aspiring developer and i am developing some [b]application which requires accessing files on the disk [/b]for data storage purpose but applets cannot access files on disk.i get the security exception.although i can develope application through frame but i want to use applet so is there any w ...

Error running an applet

Hi! when I tried to run the applet in the applet viewer it gave me the following error message. In the applet it said "start:applet is not initialized". java.security.AccessControlException: access denied (java.util.PropertyPermission user.dir read)at java.security.AccessControlContext.checkPermissi ...

Naming Exception

I ve this piece of code for the JNDI lookup in the Weblogic server 7.0 and i ve implemented this in the init() method of the Java Applet.I am getting the exception(in the client console) as given below.This is the code:Properties initialContextProperties = new Properties();try {initialContextPropert ...

JMS runtime exception.

I am using Java 1.3.1 for a Java applets coded exclusive for IE .The web appliaction server i am using is Weblogic 7.0 or more.Things were working good until i use JRE 1.3.1/JRE1.4 on the client side(note: i am using java 1.3.1 JVM on the machine where i run the weblogic server.All applets are compi ...

calling an Applet from a JSP

I have an Applet which loads inside a JSP,when Applet loads it creates two images in webpage, both of them are buttons, when these buttons are clicked they will trigger an event and calls the Applet's "actionPerformed(ActionEvent ae)" method.but when I clicked on the imagebutton it is not calling "a ...

problem in using the codebase attribute for an applet

Probably this might be a simple problem for you all. But please help me if you have the information.I am having a web application called MyWeb , running on Tomcat 5.5 . Actually all my java class files go to the following location /MyWeb/build/classes/ .But my jsp files are residing in /MyWeb/WebCon ...

JavaPOS Applet Problem

I am writing a Applet which will read data from MSR(Card Reader of Anyplace Kiosk).....When i run it as standalone application, it works fine~However, when i run it as applet, following exception have shown:codejpos.JposException: POSj Handle not present in registry so assume not connected or initia ...