This content has been marked as final.
Show 2 replies
-
1. Re: Portlets and Applets
kraptor Jul 12, 2006 10:50 AM (in response to indyjones)What I did was use the HelloWorldJSPPortlet at portletswap.com and modified the JSP pages within the src directory. I added my applet code block to the JSP page and it works well.
-
2. Re: Portlets and Applets
hubery Sep 30, 2008 9:09 PM (in response to indyjones)"kraptor" wrote:
What I did was use the HelloWorldJSPPortlet at portletswap.com and modified the JSP pages within the src directory. I added my applet code block to the JSP page and it works well.
I tried to do this at the same way, but I failed.
The error is Genereal Exception.
I think I have to declare what content-type the portlet will be responding in.
But when I change rResponse.setContentType("text/html")
to rResponse.setContentType("application/x-java-applet"),still failed.
Anybody can give me some idea.thanks a lot.