• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Paul Clapham
  • Tim Cooke
  • Jeanne Boyarsky
  • Liutauras Vilda
Sheriffs:
  • Frank Carver
  • Henry Wong
  • Ron McLeod
Saloon Keepers:
  • Tim Moores
  • Frits Walraven
  • Tim Holloway
  • Stephan van Hulst
  • Carey Brown
Bartenders:
  • Al Hobbs
  • Piet Souris
  • Himai Minh

Doubt in Web-app structure

 
Ranch Hand
Posts: 125
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
hii

There was a Question about the Structure of Web-app in Javabeet exam.


1. --myapp
---WEB-INF
----web.xml
---classes
----- lib
------index.html

2: --myapp
---WEB-INF
----web.xml
----lib
---META-INF

----meta.xml


now my doubt is what are the things that can be present in META-INF??

1 and 2 are the right options.




 
Sheriff
Posts: 9697
43
Android Google Web Toolkit Hibernate IntelliJ IDE Spring Java
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Well I don't know much about this, but I don't think that there is any restrictions on what you can put in META-INF. Some of the servlet containers don't use this, and some (like tomcat which requires context.xml in META-INF) use this folder to find deployment information...
 
Ranch Hand
Posts: 336
Firefox Browser Java Linux
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
you can put JSP files on META-INF directory, for avoid the direct access (client access), to this resources. In general, you can put whatever files, but this files are only available directly to the webapp.
 
Doody calls. I would really rather that it didn't. Comfort me wise and sterile tiny ad:
Garden Master Course kickstarter
https://coderanch.com/t/754577/Garden-Master-kickstarter
reply
    Bookmark Topic Watch Topic
  • New Topic