Importing a Java Applet class into a Portlet.
Web Server forum
Back To The Forum Home!Search!Private Messaging System

Web Server Talk Web Server Talk > Web Servers reviews > WebSphere > WebSphere Portal Server > Importing a Java Applet class into a Portlet.




  Last Thread   Next Thread Next
  Show Printable Version Email this Page Subscribe to this Thread      Post New Thread    Post A Reply      

    Importing a Java Applet class into a Portlet.  
mocheng


View Ip Address Report This Message To A Moderator Edit/Delete Message


 
04-22-04 05: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...





[ Post a follow-up to this message ]



    Re: Importing a Java Applet class into a Portlet.  
mocheng


View Ip Address Report This Message To A Moderator Edit/Delete Message


 
04-22-04 05: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...





[ Post a follow-up to this message ]



    Re: Importing a Java Applet class into a Portlet.  
mocheng


View Ip Address Report This Message To A Moderator Edit/Delete Message


 
04-22-04 05: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...





[ Post a follow-up to this message ]



    Sponsored Links  




 





   All times are GMT. The time now is 10:06 PM.      Post New Thread    Post A Reply      
  Last Thread   Next Thread Next


Most Popular forums 

Forum Jump:
Rate This Thread:

Forum Rules:
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
HTML code is OFF
vB code is ON
Smilies are ON
[IMG] code is OFF
 
Medical and Health forum | Computer Games Reviews | Graphics design forum

Back To The Top
Home | Usercp | Faq | Register