pivot-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Alejandro Vilar" <alejandro.vi...@synacom.com.bo>
Subject RE: Help understanding classpaths/codebase with applets
Date Tue, 22 Jun 2010 21:20:50 GMT
Yes, some ways to perform this could be:

1) Use one server app, to retrieve a unique file with an static and
well-know url, put that url in all your applets and use a get method to
retrieve an stream an setup log4j.

2) Write a file servlet in all your webApps, inside the applet use the
codebase to create a relative url to an fictitious file, this file will be
pulled from a unique path by each one of your web apps in the server side.

In both approaches a env variable could be handy to avoid static paths to
the file.


-----Original Message-----
From: JohnRodey [mailto:timothyddaly@yahoo.com] 
Sent: Martes, 22 de Junio de 2010 04:54 p.m.
To: user@pivot.apache.org
Subject: RE: Help understanding classpaths/codebase with applets

Alejandro Vilar wrote:
> Yes, my suggestion is for all wars on the server side, but if the same
> config file is required on the client side using a FileSerializer(or a
> StreamSerializer) and a get method is enough to send/request the file
> (using
> the same system property to recover the file on the server side) and setup
> Log4J as needed.
> Alejandro

Ah, that is very interesting.  So you are saying that I can do an HTTP get
to retrieve the xml file from the server instead of from the

View this message in context:
Sent from the Apache Pivot - Users mailing list archive at Nabble.com.

View raw message