I have created a mail.jar file and mywar.war file. What I need to set into the manifest.mf use the mail.jar as a library?
A:
Class-Path: ../relative/path_to_/mail.jar
EDIT: Note: The relative path should be with reference from the directory where your program is starting.
chinmaya
2010-01-19 01:26:16
Your spelling error is pretty entertaining, but you might want to correct it. Or specify strawberry or raspberry.
bmargulies
2010-01-19 01:46:20
So this manifest is inside jar file or war file?
2010-01-19 01:50:25
haha I fixed it.@kenny-david in war file
chinmaya
2010-01-19 08:16:33
+3
A:
You don't use a MANIFEST.MF to put a jar in the classpath of a war file. You just put it into WEB-INF/lib in the war file.
bmargulies
2010-01-19 01:26:46