For Programmers: Free Programming Magazines  


Home > Archive > Java Help > January 2006 > jsp:plugin woes









You are viewing an archived Text-only version of the thread. To view this thread in it's original format and/or if you want to reply to this thread please [click here]

 

Author jsp:plugin woes
C P via JavaKB.com

2006-01-29, 7:57 am

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 pluginnot matter what I
put in for the jreversion, it keeps asking for the plugin. Even when I dn
again the jre/plugin 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...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>

--
Message posted via JavaKB.com
http://www.javakb.com/Uwe/Forums.as...-setup/200601/1
Sponsored Links







Also available: Server administration forum archive | Web Design forum archive | Software forum archive | Hardware reviews archive

Copyright 2008 codecomments.com