Win a copy of 97 Things Every Java Programmer Should Know this week in the Java in General forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Paul Clapham
  • Jeanne Boyarsky
  • Junilu Lacar
  • Henry Wong
Sheriffs:
  • Ron McLeod
  • Devaka Cooray
  • Tim Cooke
Saloon Keepers:
  • Tim Moores
  • Stephan van Hulst
  • Frits Walraven
  • Tim Holloway
  • Carey Brown
Bartenders:
  • Piet Souris
  • salvin francis
  • fred rosenberger

Applet not able to shown in JSP

 
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.
 
You've gotta fight it! Don't give in! Read this tiny ad:
Devious Experiments for a Truly Passive Greenhouse!
https://www.kickstarter.com/projects/paulwheaton/greenhouse-1
    Bookmark Topic Watch Topic
  • New Topic