aspose file tools*
The moose likes Web Component Certification (SCWCD/OCPJWCD) and the fly likes SCWCD hints#2 Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Certification » Web Component Certification (SCWCD/OCPJWCD)
Bookmark "SCWCD hints#2" Watch "SCWCD hints#2" New topic
Author

SCWCD hints#2

Renu Radhika
Ranch Hand

Joined: Oct 21, 2005
Posts: 243
Having a directory called WEB-INF is a strong recommendation, but not an absolute obligation. Look out for questions that ask you to say whether a web application must have particular directories. The correct answer is �no�!

But I feel its yes.Otherwise how will the container reads the information needed to load the webapp from web.xml?Please share your thoughts on this.
Marc Peabody
pie sneak
Sheriff

Joined: Feb 05, 2003
Posts: 4727

I agree with you.


A good workman is known by his tools.
Christophe Verré
Sheriff

Joined: Nov 24, 2005
Posts: 14687
    
  16

If you put all your html files in the root, you have a web application, without WEB-INF. Yes, it sucks but it works. This hint is focusing on the "must have" part. A web application may have a special WEB-INF directory, but it's not mandatory. Without it, you'll have a working crappy web application

By the way, the hints you are looking at are maintained by a rancher (Jothi, where are you ?), but are not reviewed by anybody, so be careful.


[My Blog]
All roads lead to JavaRanch
Joe Harry
Ranch Hand

Joined: Sep 26, 2006
Posts: 9349
    
    2

Hey, Satou....I was off from work for the last couple days....all the hints that I have posted there are mostly from David Bridgewater's book. So I hope no reviews are needed. If needed....I guess some experts here around might give it a try.


SCJP 1.4, SCWCD 1.4 - Hints for you, Certified Scrum Master
Did a rm -R / to find out that I lost my entire Linux installation!
Christophe Verré
Sheriff

Joined: Nov 24, 2005
Posts: 14687
    
  16

all the hints that I have posted there are mostly from David Bridgewater's book.

That's ok then, thank you for clarifying
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: SCWCD hints#2