Win a copy of The Little Book of Impediments (e-book only) this week in the Agile and Other Processes forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Applet not able to shown in JSP

 
Shanmugam Muthukumarasamy
Ranch Hand
Posts: 83
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi All,
I am working in WSAD 5.0 environment. In that I have applet under the "JavaSource" on some package like "com.test.SearchEngine.Applets". I would like to access that Applet in my Jsp class. I am calling this applet using "jsp lugin". But while calling this jsp, it is throwing runtime error and immediately closing the browser(Showing Runtime Error! abnormal program termination).
If I comment out the "jsp lugin" section, It is not throwing this error. How can I show the applet in this jsp. Should I need to keep the Applet in the place where I have the Jsp.
I am having the following .jsp to call my applet
"PluginApplet".
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<HTML>
<HEAD>
<TITLE>Using jsp lugin</TITLE>
<LINK href="theme/Master.css" rel="stylesheet"
type="text/css">
</HEAD>
<BODY>
<%@ page import="com.test.SearchEngine.Applets.*" %>
<TABLE BORDER=5 ALIGN="CENTER">
<TR><TH CLASS="TITLE"> Using jsp lugin </TABLE>
<P>
<CENTER>
<jsp lugin type="applet"
code="PluginApplet.class"
codebase="./"
width="370" height="420">
</jsp lugin>
</CENTER>
</P>
</BODY>
</HTML>

Any idea would be appreciated.
Thanks in advance,
regards,
Shanmugam.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic