Strange !

I would expect the browser to look the jar, not the class ..

I have fun with such a matcher :

    <map:match pattern="**/*.jar">
      <map:read src="resources/static/{2}.jar"/>
    </map:match>


Good luck

Andreas

----- Original Message ----
From: Harald Entner <[EMAIL PROTECTED]>
To: [email protected]
Sent: Wednesday, September 12, 2007 4:41:22 PM
Subject: 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: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]





---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to