|
Home > Archive > WebSphere Portal Server > April 2004 > Importing a Java Applet class into a Portlet.
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 |
Importing a Java Applet class into a Portlet.
|
|
| mocheng 2004-04-22, 12:36 pm |
| Hi, I having trouble refering an applet class into a portlet, the class has already imported...
I define the class using a string.
I also made a folder parallel to the JSP folder, and put the class in there.
<%
String example = portletResponse.encodeURI("/example/example.class");
%>
<APPLET code = "<%=example%>" width = "260" height = "150">
</APPLET>
Error i got loading applet is "classFormatError.example(Truncated class)"
Any ideas? thanks...
| |
| mocheng 2004-04-22, 12:36 pm |
| I didn't know this is an HTML editor. so I repeat what i wrote
Hi, I having trouble refering an applet class into a portlet, the class has already imported...
I define the class using a string.
I also made a folder parallel to the JSP folder, and put the class in there.
<!--
String example = portletResponse.encodeURI("/example/example.class");
<APPLET code = "<%=example%>" width = "260" height = "150"><BR></APPLET>
-->
Error i got loading applet is "classFormatError.example(Truncated class)"
Any ideas? thanks...
| |
| mocheng 2004-04-22, 12:36 pm |
| I didn't know this is an HTML editor. so I repeat what i wrote
Hi, I having trouble refering an applet class into a portlet, the class has already imported...
I define the class using a string.
I also made a folder parallel to the JSP folder, and put the class in there.
<
String example = portletResponse.encodeURI("/example/example.class");
<APPLETs code = "<%=example%>" width = "260" height = "150"><BR></APPLETs>
Error i got loading applet is "classFormatError.example(Truncated class)"
Any ideas? thanks...
|
|
|
|
|