Le 2 sept. 05, à 14:50, Andres Taborda a écrit :

can help me how put applets in cocoon.

To activate an applet on an HTML page served by cocoon:

a) The generated HTML must include the appropiate <applet> or <object> tag [1]. This has little to do with Cocoon itself, except that the codebase and archive attributes must be correct so that the browser can make more requests to Cocoon, with the correct URLs, to get the applet code

b) The applet code (.class or .jar files) must be served by Cocoon using a map:read, see http://wiki.apache.org/cocoon/ServingStaticFiles

In case of doubt about whether the browser retrieves the correct jar/class files, spy the HTTP traffic between browser and server to find out what's happening - a common problem is not having the right URLs or paths in the applet/object tags.

-Bertrand

[1] http://java.sun.com/docs/books/tutorial/applet/appletsonly/ appletTag.html

Attachment: smime.p7s
Description: S/MIME cryptographic signature

Reply via email to