• 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
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

Exam objective 2.1

 
Ranch Hand
Posts: 170
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hi,
The objective says .."Construct the file and dir structure of a web application containing static content , jsp etc.......and describe how to protect resouce files from HTTP access".
Can anybody throw light on the last line?(describe how to protect resouce files from HTTP access).
 
Ranch Hand
Posts: 270
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator

Originally posted by Lakshmi Saradha:
Hi,
The objective says .."Construct the file and dir structure of a web application containing static content , jsp etc.......and describe how to protect resouce files from HTTP access".
Can anybody throw light on the last line?(describe how to protect resouce files from HTTP access).


To my understanding, it means that you have to put someting under the /WEB-INF/ folder so that clients cannot gain direct access to there resources, basically jsp files if/when necessary. Correct me if i am wrong....
 
Ranch Hand
Posts: 449
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Absolutely right. It means you should be clear about so called 'document-root' and 'context-root' or 'app-root'
 
Ranch Hand
Posts: 79
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Is the above point the only one regarding this objective ? Or is there anything more we need to know about protecting resource files from HTTP access ?

Thanks
Vipin
reply
    Bookmark Topic Watch Topic
  • New Topic