1

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?

user245398
  • 135
  • 1
  • 2
  • 12

2 Answers2

4

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
  • 97,814
  • 39
  • 186
  • 310
0

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
  • 609
  • 3
  • 5
  • Your spelling error is pretty entertaining, but you might want to correct it. Or specify strawberry or raspberry. – bmargulies Jan 19 '10 at 01:46