executing java applets
hello,
i am a newbie to applets. My problem is this. i have an applet which is essentially a coloring tool. i need to run the applet on clicking say a "Color" link on a html page.
If i just specify the path to the index.html file in the applet folder, the applet aint executing. How can i get the applet executing on the click of a link?
hello,
i am sorry, but there still seems to a problem. The thing is now, i have successfully embedded the applet in a jsp code and i got the browser to recognize the applet. But then when the page loads, the loading of the applet fails.
I am using Eclipse. My jsp file is stored inside Web Content and my applet class is inside /build/classes/HelloWorldApplet. I am calling the applet from the jsp like this:
<html>
<head>
<title>Insert title here</title>
</head>
<XBODY>
<jsp:plugin type="applet" code="/sample/HelloWorldApplet.class" width="160" height="150" >
<jsp:fallback>
I am Generated If There is any Problem like
Plugin tag not supported by browser.
</jsp:fallback>
</jsp:plugin>
</XBODY>
</html>
What could be my problem? Please help! Thanks in advance.
well, atleast theres an image with a cross on it. i was thinking that it was sign of applet recognition! the browser shows nothing but this. and the task bar says, 'loading applet failed.'