You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@tomcat.apache.org by Christopher Schultz <ch...@christopherschultz.net> on 2009/05/07 03:32:15 UTC

Re: [OT] Problem Accessing resource files in Tomcat 6.0.18

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Jacob,

On 5/6/2009 3:00 AM, Jacob Bergöö wrote:
>                     final Resource resource = iterator.next();
>                     final Context cx =
> ContextFactory.getGlobal().enterContext();
>                     final StringBuilder stringBuilder = new StringBuilder();
>                     final String resourcePath = resource.getURI().getPath();
> [...]

Looks like you've been reading a "Java Performance Tips" book circa
1997. What's with all those final references, there? Or are you using a
lot of anonymous classes?

- -chris
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.9 (MingW32)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/

iEYEARECAAYFAkoCOh8ACgkQ9CaO5/Lv0PDQmACdGcpsrEuRWUJqkWZwJ1sevwDr
vBkAoJVoBS1MR44kPIjeKHJL5T4S917e
=Brc7
-----END PGP SIGNATURE-----

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
For additional commands, e-mail: users-help@tomcat.apache.org