File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
The moose likes Web Component Certification (SCWCD/OCPJWCD) and the fly likes Exam objective 2.1 Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Spring in Action this week in the Spring forum!
JavaRanch » Java Forums » Certification » Web Component Certification (SCWCD/OCPJWCD)
Bookmark "Exam objective 2.1" Watch "Exam objective 2.1" New topic
Author

Exam objective 2.1

Lakshmi Saradha
Ranch Hand

Joined: Oct 21, 2003
Posts: 170
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).


Thanks,<br />Lakshmi.
Yi Meng
Ranch Hand

Joined: May 07, 2003
Posts: 270
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....


Meng Yi
Vijay S. Rathore
Ranch Hand

Joined: Oct 29, 2001
Posts: 449
Absolutely right. It means you should be clear about so called 'document-root' and 'context-root' or 'app-root'


SCJP, SCJD, SCWCD1.4, IBM486, IBM484, IBM 483, IBM 287, IBM141, IBM Certified Enterprise Developer - WebSphere Studio, V5.0
Author of IBM 287 Simulator Exam
Vipin Mohan
Ranch Hand

Joined: Nov 15, 2003
Posts: 79
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
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Exam objective 2.1