Valli
Applet code parameter
0 Answer(s)      5 years ago
Posted in : Applet
Hi...
I've designed an applet where i placed the .class file in another subpackage...

i.e...if my html file is in the folder named project
then the class file is in project/WEB-INF/classes folder

How can i get that class...

I used code="MyProgram.class" codebase="WEB-INF/classes"

but this didn't worked

i also tried code="WEB-INF.classes.MyProgram.class"
but this didn't worked either

can anyone suggest me this...plss

Thanks in advance
Advertisement
View Answers









Related Tutorials/Questions & Answers:
Applet code parameter - Applet
Applet code parameter  Hi... I've designed an applet where i placed... How can i get that class... I used code="MyProgram.class" codebase="WEB-INF/classes" but this didn't worked i also tried code="WEB
Applet - Passing Parameter in Java Applet
Applet - Passing Parameter in Java Applet   ... and passing parameter in applet, a example is given below. In this example, we will see what has to be done in the applet code to retrieve the value from
Advertisements
passing parameter from html to applet
passing parameter from html to applet  how to pass the following from HTML to applet in Java code - font size,font style,font size?give me suitable code
applet program code - Applet
applet program code  hello sir, i did't get the code for below problem... please help me... 1.An applet program to draw a line graph for y=2x+5.[for suitable values of x & y
Crop Image Code in Applet
Crop Image Code in Applet  Sir, Can somebody please provide me with code to crop and save an image in applet
Crop Image Code in Applet
Crop Image Code in Applet  Sir, Can somebody please provide me with code to crop and save an image in applet
applet code - Java Beginners
applet code  hi friends.. i have to oen one applet, in that applet code should be apper what we have written for the applet... this is my...://www.roseindia.net/java/example/java/applet/ Hope that it will be helpful
Java code - Applet
Java code  I want java applet code for drawing an indian flag
insertion sort applet code
insertion sort applet code  i need Insertion Sort Applet Program
servlet code - Applet
servlet code  how to communicate between applet and servlet  Hi Friend, We are providing you the code that will display the message sent from the servlet to applet. Here is the code of 'ServletExample.java
Java Code - Applet
Java Code  How to Draw various charts(Pie,Bar,and Line etc.)using Applet
Code Problem - Applet
Code Problem  How to set a background color for frame and panel ...? What is the difference btw these two(in setting background color)..?  Hi Friend, If you simply want to set background color for panel, try
Applet
Applet  Write an applet to display a string in an applet. String should be passed as a parameter to an applet
<applet> tag requires code attribute.
applet tag requires code attribute.  import java.applet.*; import java.awt.*; import java.awt.image.*; /*<applet code...="swsm.jpg"> <applet/>
Applet
Applet  I have a java applet that has a button. On clicking the button it should disappear and another applet should appear. How to write this code???? Also in login applet after successful login it should display admin applet
Applet run with appletviewer but not in browser, any code problem.
Applet run with appletviewer but not in browser, any code problem.  Hi,My problem is when I am running my applet in appletviewer index.html, Its work... the 52 cards will be show in browser as by "appletviewer" and run as "java applet" I
Applet
Applet  Give the class hierarchy of an Applet class
applet
applet  Explain different stages in the lifecycle of an applet with figure.   Stages of Applet: Life cycle of an Applet: init(): This method is called to initialized an applet start(): This method is called after
Applet
Applet  how to run an applet on a web browser
applet
applet  What is the immediate superclass of the Applet class
Applet
Applet  Write a ava applet that sets blue color foreground and yellow color background at the start of an applet
applet
applet  applet to open new tab not working.here's my code import java.applet.*; import java.awt.*; import java.net.*; import java.awt.event.*; public class NewURL extends Applet implements ActionListener{ public void init
passing parameter from Java code to CSS file - Design concepts & design patterns
passing parameter from Java code to CSS file  hi, i have to pass a string variable from by java code to a CSS file so that i can use that variable in my CSS file. Plz help me as soon as possible
applet - Applet
applet   i want a simple code of applet.give me a simple example.  Hi Friend, Try the following code: 1)Create an applet... in Java Applet.",40,20); } } 2) Call this applet with html code
Applet
Applet  Explain the start() and stop() methods of applet life cycle.   Start and Start method of Applet Life Cycle Start () method: The start method of an applet is called after the initialization method init
Applet
Applet  Write a short note on applet life cycle
I am new to java applets. When i run this code on applet viewer status is displayed that applet not initialized
I am new to java applets. When i run this code on applet viewer status is displayed that applet not initialized  import java.awt.*; import java.awt.event.*; import java.applet.*; public class Textfields extends Applet implements
Applet
Applet  Draw the class hierarchy of an Applet class. Also explain how to set background and forground colors in java
applet
applet  what is applet in java   An applet is a small program that can be sent along with a Web page to a user. Java applets can perform... the following link: Applet Tutorials
Applet
Applet  Write a Java applet that drwas a line between 2 points. The co-ordinates of 2 points should be passed as parametrs from html file. The color of the line should be red
Applet Tag Parameters,Applet Tag in HTML
. Second, add necessary code to the applet to retrieve these parameter values... the parameter values and respond accordingly. We can increase the applet's flexibility... directly to a Java applet. Parameters are to applets what command-line