This content has been marked as final.
Show 3 replies
-
1. Re: how to give dependency of war inside manifest file of ja
peterj Jul 16, 2008 11:35 AM (in response to chaituu)You cannot do this. The web app spec requires that the classes in a war file are isolated and not accessible from outside the war.
-
2. Re: how to give dependency of war inside manifest file of ja
chaituu Jul 16, 2008 11:44 AM (in response to chaituu)"PeterJ" wrote:
You cannot do this. The web app spec requires that the classes in a war file are isolated and not accessible from outside the war.
you mean to say that classes residing in jar can't access classes in war? -
3. Re: how to give dependency of war inside manifest file of ja
peterj Jul 16, 2008 11:51 AM (in response to chaituu)If you are talking about only your example, then that is correct.
In general, it depends on where the jar is located. If the jar is in xxx.war/WEB-INF/lib, then it can access the classes. If it is anywhere else, it cannot.