cocoon-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Klaus Drechsler <>
Subject C2 and applets
Date Thu, 08 Mar 2001 01:00:04 GMT
*** Sorry, the HTML code was cuted by my mail client ***
*** Here is the mail once again ***


how can I use cocoon2 with applets?

In the sitemap I tried the following:

    <map:match pattern="applet/*.class">
                 <map:read src="applets/{1}.class" 

The pipeline which generates the HTML code is not shown here, but an result 
looks like this
(it is only a simple test):

---<META http-equiv="Content-Type" content="text/html; charset=UTF-8">
---<-title>Applet Test</title>

---<p align="left">
---     Here you can see an java applet or
---     not.
---<applet code="/cocoon/applet/TicTacToe.class" width="120" 

It looks quite well :-)

The problem is, that the applet is not loading. I only see the box where 
the applet shoud be.

BUT if I manually type 
"" into the browser then 
I can download the applet without any problems.

So, could someone show me the right way, how to include applets into my 
cocoon applications?

Thanks in advice


View raw message