Gabor Bartha wrote:

> Hi,
> summarized:
>
> I have an applet in a jar with outer classes (java modules). There are 
> several classes in the jar and beside the jar.
>
> When the applet is running (from the jar) it finds the classes inside 
> the jar, but is unable to find the classes beside the jar.
>
> I have the jar file: /myApp/main.jar
> I have the classes: /myApp/outclasses/needed/req.class
>                             /myApp/outclasses/eq.class
>               When Class.forName(outclasses/needed/req) is called, 
> ClassNotFoundExecption occures. I have pipeline for the jar, and for 
> class:



Try then:

> <map:match pattern="*.jar">
>  <map:read src="{1}.jar" mime-type="application/java-archive"/>
> </map:match>
> <map:match pattern="*.class">
>  <map:read src="{1}.class" mime-type="application/java-class"/>
> </map:match>

<map:match pattern="**.class">
 <map:read src="{1}.class" mime-type="application/java-class"/>
</map:match>


> If I use the <map:match pattern="**.class"> pipeline, the classes 
> inside the jar cannot be loaded, and ClassNotFoundException occures.


I don't know what **class has to do with the jar, may be you have a 
problem somewhere else (i.e., in your <APPLET> tag).

Vadim



> Gabor



---------------------------------------------------------------------
Please check that your question  has not already been answered in the
FAQ before posting.     <http://xml.apache.org/cocoon/faq/index.html>

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

Reply via email to