cocoon-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Vadim Gritsenko <>
Subject Re: applet, module, Class.forName() - ClassNotFoundException
Date Tue, 17 Sep 2002 16:16:41 GMT
Gabor Bartha wrote:

> Hi All,
> I have a java applet in a jar file and there are several class files 
> beside the jar, which files (modules) can be loaded by the applet with 
> the Class.forName() and newInstance() methods. My applet works well as 
> far as it has to load a module, at that time ClassNotFoundException 
> occures.
> I put the following pipeline into my sitemap.xmap, but it is not working.
>    <map:match pattern="*.class">

If your classes are within some package (not in default package), you 
will have to match on "**.class":

<map:match pattern="**.class">


>      <map:read src="{1}.class" mime-type="application/java-class"/>
>    </map:match>
> Can anybody help me?
> Gabor

Please check that your question  has not already been answered in the
FAQ before posting.     <>

To unsubscribe, e-mail:     <>
For additional commands, e-mail:   <>

View raw message