You include the same applet tags that you would in a JSP page. Or any other web page. It's the HTML that the browser sees that's important, not what server software was used to present it to the client.
An IDE is no substitute for an Intelligent Developer.
I’ve looked at a lot of different solutions, and in my humble opinion Aspose is the way to go. Here’s the link: http://aspose.com