you should look how to read a file that resides in your jar file with your
applet.  I did it in the past for files that are not multimedia (those have
built-in support in applets).  I don't remember how and have no time for
more then giving you the direction.  if you don't find, try in mailing list
of applets or general java.  maybe something under forum.java.sun.com.

/avner

----- Original Message -----
From: "Rickard Öberg" <[EMAIL PROTECTED]>
To: "Log4J Users List" <[EMAIL PROTECTED]>
Sent: Wednesday, June 04, 2003 11:13 AM
Subject: Re: log4j and applets?


> Avner BenHanoch wrote:
>
> > I believe if you put the xml file inside your jar file, as other
resources
> > such as images, audio and so on,  there shouldn't be any call to the
server
> > at all.
>
> Not for the config files, sure. Instead I get this:
> Connecting
> http://localhost/editor/org/apache/log4j/PatternLayoutBeanInfo.class
> with no proxy
> Connecting
> http://localhost/editor/org/apache/log4j/PatternLayoutBeanInfo.class
> with cookie "JSESSIONID=7A1E10E9E3F09D35F9E1771D25F7C34D"
> WARNING: Unable to cache
> http://localhost/editor/org/apache/log4j/PatternLayoutBeanInfo.class
> Connecting
> http://localhost/editor/org/apache/log4j/PatternLayoutBeanInfo.class
> with no proxy
> Connecting
> http://localhost/editor/org/apache/log4j/PatternLayoutBeanInfo.class
> with cookie "JSESSIONID=7A1E10E9E3F09D35F9E1771D25F7C34D"
> Connecting
> http://localhost/editor/org/apache/log4j/PatternLayoutBeanInfo.class
> with no proxy
> Connecting
> http://localhost/editor/org/apache/log4j/PatternLayoutBeanInfo.class
> with cookie "JSESSIONID=7A1E10E9E3F09D35F9E1771D25F7C34D"
> WARNING: Unable to cache
> http://localhost/editor/org/apache/log4j/PatternLayoutBeanInfo.class
> Connecting
> http://localhost/editor/org/apache/log4j/PatternLayoutBeanInfo.class
> with no proxy
> Connecting
> http://localhost/editor/org/apache/log4j/PatternLayoutBeanInfo.class
> with cookie "JSESSIONID=7A1E10E9E3F09D35F9E1771D25F7C34D"
> Connecting http://localhost/editor/org/apache/log4j/LayoutBeanInfo.class
> with no proxy
> Connecting http://localhost/editor/org/apache/log4j/LayoutBeanInfo.class
> with cookie "JSESSIONID=7A1E10E9E3F09D35F9E1771D25F7C34D"
> WARNING: Unable to cache
> http://localhost/editor/org/apache/log4j/LayoutBeanInfo.class
> Connecting http://localhost/editor/org/apache/log4j/LayoutBeanInfo.class
> with no proxy
> Connecting http://localhost/editor/org/apache/log4j/LayoutBeanInfo.class
> with cookie "JSESSIONID=7A1E10E9E3F09D35F9E1771D25F7C34D"
> Connecting http://localhost/editor/org/apache/log4j/LayoutBeanInfo.class
> with no proxy
> Connecting http://localhost/editor/org/apache/log4j/LayoutBeanInfo.class
> with cookie "JSESSIONID=7A1E10E9E3F09D35F9E1771D25F7C34D"
> WARNING: Unable to cache
> http://localhost/editor/org/apache/log4j/LayoutBeanInfo.class
> Connecting http://localhost/editor/org/apache/log4j/LayoutBeanInfo.class
> with no proxy
> Connecting http://localhost/editor/org/apache/log4j/LayoutBeanInfo.class
> with cookie "JSESSIONID=7A1E10E9E3F09D35F9E1771D25F7C34D"
> ---
>
> Which is not really an improvement ;-)
>
> /Rickard
>
>
> ---------------------------------------------------------------------
> 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