You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@struts.apache.org by Christopher Schultz <ch...@christopherschultz.net> on 2007/06/11 23:16:50 UTC

Re: [OT] class-path how to

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

Miro,

temp temp wrote:
> I am struts using fileupload  I want to scan to uploaded -files .

The classpath in your JAR library below does not include any struts
classes. Only Jakarta commons ones.

The Class-Path in a JAR file cannot refer to JAR files within the JAR
file itself. This is stupid, but true. If you want to package your
standalone application as a single JAR file, you will have to un-JAR
your dependencies and then JAR then together with your application.
Otherwise, you will need to write your own ClassLoader.

Now, please take this question to another list.

- -chris

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

iD8DBQFGbbvC9CaO5/Lv0PARAh4lAJ9MdN+Pohb0mtWxzS7ZdoDBo8nbXACgo+Eh
/ITjZCHFtt90b2X4pqznfWA=
=qswD
-----END PGP SIGNATURE-----

---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@struts.apache.org
For additional commands, e-mail: user-help@struts.apache.org