WebSphere Portal Server - Can't find Applet class in portlet

This is Interesting: Free IT Magazines  
Home > Archive > WebSphere Portal Server > January 2004 > Can't find Applet class in 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 Can't find Applet class in portlet
kamonthip

2004-01-19, 3:00 pm

I'm trying to put an applet inside a portlet, but the JSP does not find the applet class.
I import jar file which have a package to lib in web-inf .
and put html tag
APPLET code="applet/graph.class"
CODEBASE="./lib/Graph.jar" width="100"
height="100">
</APPLET
But! portlet Can't find applet.graph
Should I do this problem?
Regard
Michael Harris

2004-01-19, 3:00 pm

You need to specify the URL on the CODEBASE the same way you specify a URL
to a graphic using <portletAPI:encodeURI.......> Also, the .jar cannot be
under the WEB-INF directory because this directory is protected.


Sponsored Links






Free braindumps | Software forum | Database administration forum

Copyright 2003 - 2008 webservertalk.com