[jboss-user] [JBoss Portal] - Re: Portlets and Applets

hubery do-not-reply at jboss.com
Tue Sep 30 21:09:04 EDT 2008

"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.

View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4179679#4179679

Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4179679

More information about the jboss-user mailing list