• Post Reply Bookmark Topic Watch Topic
  • New Topic

WAR file

 
Amruth Puppala
Ranch Hand
Posts: 295
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Are these true about WAR file?
A.Web container must serve the content of any META-INF located in a WAR file.
B.Web container must allow access to the resources in JAR in the web application library directory
 
deepa raj
Ranch Hand
Posts: 124
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator


if the request is from the client (means using browser) , it cant be served .
Any of the files under WEB-INF and META-INF directory are not accessible directly by the client.They should acess via the application.

But part of the web application can access both the things.
 
Amruth Puppala
Ranch Hand
Posts: 295
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Thanks deepa raj,

So according to given info are they true or false?
 
deepa raj
Ranch Hand
Posts: 124
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator


False



True --We can access the jars under WEB-INF/lib .But it cant be served to the client.
 
Amruth Puppala
Ranch Hand
Posts: 295
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Thanks
 
Happiness is not a goal ... it's a by-product of a life well lived - Eleanor Roosevelt. Tiny ad:
the new thread boost feature: great for the advertiser and smooth for the coderanch user
https://coderanch.com/t/674455/Thread-Boost-feature
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!