Hi,

I'm not sure that I understand how your applet works( I have not used
applets over the last 5 years), but as far as I know all the class
files should be contained in the jar. So I don't think you will need
the .class matcher inside your sitemap.

Jeroen

On Tue, Jun 29, 2010 at 10:06 PM, Maria Grigorieva <[email protected]> wrote:
>
> Hello )
>
> I'm trying to put the java-applet into cocoon's sitemap and have problems
> with .class and .jar files.
> The applet have many class-files in different locations, but all of them is
> in one direcrory.
>
> So, I put it all in catalog in cocoon and in the sitemap using this syntax:
>
>                <map:match pattern="**.class">
>                        <map:read src="{1}.class"/>
>                </map:match>
>
>                <map:match pattern="*.jar">
>                        <map:read src="{1}.jar" 
> mime-type="application/java-archive"/>
>                </map:match>
>
> The problem is my applet doesn't see any class-files... and I don't know how
> to make it see them...
>
> Please help ! )
> --
> View this message in context: 
> http://old.nabble.com/Using-applet-in-cocoon-2.1-tp29027810p29027810.html
> Sent from the Cocoon - Users mailing list archive at Nabble.com.
>
>
> ---------------------------------------------------------------------
> 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