You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@cocoon.apache.org by Harald Entner <ha...@gmx.at> on 2007/09/12 16:41:22 UTC
Applet & Cocoon
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
Re: Applet & Cocoon
Posted by johnson <jo...@erp.tw>.
put the applet to template will work.
Best Regards
johnson
Harald Entner ??:
> 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
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@cocoon.apache.org
For additional commands, e-mail: users-help@cocoon.apache.org