Hi Bytes,
i did sample Applet program in linux environment in that place where my java is installed. when i execute the code it creates the .class file and browser shows the result when i load the page. then i have opened the same program again did some modification,made a compilation and run the program but changes didnt affect in the browser. is it the problem in .class regenration? or what could be the problem?. suggest me.
code i used..
<code>
samp.java
import java.applet.*;
import java.awt.*;
public class samp extends Applet{
public void paint(Graphics g){
g.drawString("Welcome in Java Applet.",400,20);
g.drawString(" By PrastSystems",80,70);
g.drawString(" By Java",50,230);
}
}
samp.html
<HTML>
<HEAD><title>Applet In Jsp</title>
</HEAD>
<BODY>
<APPLET ALIGN="CENTER" CODE="samp.class" WIDTH="800" HEIGHT="500">
</APPLET>
</BODY>
</HTML>
</code>