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. Alejandro -----Original Message----- From: JohnRodey [mailto:[email protected]] Sent: Martes, 22 de Junio de 2010 04:54 p.m. To: [email protected] 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 classpath/codebase? -- View this message in context: http://apache-pivot-users.399431.n3.nabble.com/Help-understanding-classpaths -codebase-with-applets-tp914940p915289.html Sent from the Apache Pivot - Users mailing list archive at Nabble.com.
