cocoon-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Harald Entner <harald.ent...@gmx.at>
Subject Applet & Cocoon
Date Wed, 12 Sep 2007 14:41:22 GMT
Hello Folks,

i face the following problem. I have to integrate a  signed applet into 
my application.

The sitemap entry looks like:

<!-- applets -->
<map:match pattern="**.class">
                <map:read src="resource://{1}.class" />
</map:match>
           
The applet is found and returned, but - unfortunately - the dialog if i 
trust the application is not shown.As a result, the following exception 
is thrown:

 java.security.AccessControlException: access denied

The template code looks like this:

<applet code="at.workflow.fileTransfer.FileTransferApplet.class"  
archive="SFileTransfer.jar"     width="500" height="200">
                <param name="uploadurl" 
value="${cocoon.request.getAttribute('uploadurl')}"/>
                <param name="downloadurl" 
value="${cocoon.request.getAttribute('downloadurl')}"/>
                <param name="filehandler" 
value="${cocoon.request.getAttribute('filehandler')}"/>
</applet>

The code works, when not run inside cocoon. (via a static html page)

Any suggestions are highly welcome

Harald

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@cocoon.apache.org
For additional commands, e-mail: users-help@cocoon.apache.org


Mime
View raw message