P
phil89
Hi
I search to replace static HTML code calling "OBJET" with jsplugin ?
Could i insert an scriptlet for an loop into jsp plugin ?
I need my applet running with firefox2, firefox3 and IE
rEGARDS
Philippe
I have tried this
<jsplugin type="applet" jreversion="1.4"
code="dclock.LedClock.class" archive="dclock.jar" height="36"
width="166" >
<jsparams>
<jsparam name="name" value="<%=postehash.getCodePoste()
+"_appletc"%>" />
<%
java.util.Vector v=context.getCouleurBeans();
String contacts=postehash.getContacts();
for(int i=0;i<contacts.length();i++)
{
try
{
servlet24.CouleurBean b=(servlet24.CouleurBean)v.elementAt(i);
out.println("<param name=\"BCOLOR"+(i+1)+"\" value= \""+b.getCode()
+"\" >");
} //fin boucle for
%>
</jsparams>
<jsp:fallback>
<p>Unable to load applet</p>
</jsp:fallback>
</jsplugin>
I search to replace static HTML code calling "OBJET" with jsplugin ?
Could i insert an scriptlet for an loop into jsp plugin ?
I need my applet running with firefox2, firefox3 and IE
rEGARDS
Philippe
I have tried this
<jsplugin type="applet" jreversion="1.4"
code="dclock.LedClock.class" archive="dclock.jar" height="36"
width="166" >
<jsparams>
<jsparam name="name" value="<%=postehash.getCodePoste()
+"_appletc"%>" />
<%
java.util.Vector v=context.getCouleurBeans();
String contacts=postehash.getContacts();
for(int i=0;i<contacts.length();i++)
{
try
{
servlet24.CouleurBean b=(servlet24.CouleurBean)v.elementAt(i);
out.println("<param name=\"BCOLOR"+(i+1)+"\" value= \""+b.getCode()
+"\" >");
} //fin boucle for
%>
</jsparams>
<jsp:fallback>
<p>Unable to load applet</p>
</jsp:fallback>
</jsplugin>