• Post Reply Bookmark Topic Watch Topic
  • New Topic

jsp:plugin woes

 
Chris Pat
Ranch Hand
Posts: 156
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hello
I am having difficulty with the jsp lugin. I have a working applet, however when I try to load it with a jsp as below it fails. Even though the browser has the 1.4.2_10 plugin for NS and even the 1.5.0_06 jre not matter what I put in for the jreversion, it keeps asking for the jre. Even when I dn again the jre it fails. The generated html is below. Can someone inform me how to use the jsp lugin to work correctly? tia.

<%@ page errorPage="showParams_error.jsp" %>
<%@ taglib uri="/WEB-INF/struts-bean.tld" prefix="bean" %>
<%@ taglib uri="/WEB-INF/struts-html.tld" prefix="html" %>
<%@ taglib uri="/WEB-INF/struts-logic.tld" prefix="logic" %>
<%@ taglib uri="/WEB-INF/struts-nested.tld" prefix="nested" %>
<%@ taglib uri="/WEB-INF/struts-tiles.tld" prefix="tiles" %>
<%@ taglib uri="http://java.sun.com/jstl/core" prefix="c" %>
<%@ taglib uri="http://java.sun.com/jstl/fmt" prefix="fmt" %>
<%@ taglib uri="http://java.sun.com/jstl/sql" prefix="sql" %>
<%@ taglib uri="http://java.sun.com/jstl/xml" prefix="x" %>
<html>
<head>
<title>
showParams
</title>
</head>
<body bgcolor="#ffffff">
<h1>
JBuilder Generated JSP
</h1>
Here we attempt to use jsp lugin to load the plugin and parameterize the applet
<br/>
<jsp lugin type="applet" code="jscript01.showParams.class" archive="jscript01.jar"

codebase="." jreversion="1.5.0_06">
<jsp arams>
<jsp aram name="card" value=""/>
<jsp aram name="name" value=""/>
<jsp aram name="address" value=""/>
<jsp aram name="expiry" value=""/>
<jsp aram name="ccv" value=""/>
</jsp arams>
<jsp:fallback>
Sorry we are unable to start the Java plugin. You must first dn stuff>
</jsp:fallback>
</jsp lugin>

html









<html>
<head>
<title>
showParams
</title>
</head>
<body bgcolor="#ffffff">

<h1>
JBuilder Generated JSP
</h1>
Here we attempt to use jsp lugin to load the plugin and parameterize the applet
<br/>
<OBJECT classid="clsid:8AD9C840-044E-11D1-B3E9-00805F499D93" codebase="http://java.sun.com/products/plugin/1.2.2/jinstall-1_2_2-win.cab#Version=1,2,2,0">
<PARAM name="java_code" value="jscript01.showParams.class">
<PARAM name="java_codebase" value=".">
<PARAM name="java_archive" value="jscript01.jar">
<PARAM name="type" value="application/x-java-applet;version=1.5.0_06">
<PARAM name="card" value="">
<PARAM name="name" value="">
<PARAM name="address" value="">
<PARAM name="expiry" value="">
<PARAM name="ccv" value="">
<COMMENT>
<EMBED type="application/x-java-applet;version=1.5.0_06" pluginspage="http://java.sun.com/products/plugin/" java_code="jscript01.showParams.class" java_codebase="." java_archive="jscript01.jar"
card="" name="" address="" expiry="" ccv="">

<NOEMBED>
</COMMENT>

Sorry we are unable to start the Java plugin. You must first dn stuff>

</NOEMBED></EMBED>
</OBJECT>

</body>
</html>
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!