A ll  file s   th a t  m u s t  b e   v is ib le   to   th e   c lie n t 
d e p lo yH o m e /
b r o w s e r   a r e   s to r e d   d ir e c tly   u n d e r   th e  
d e p lo y m e n t  h o m e   d ir e c to r y .  In   la r g e r  
H T M L  file s
a p p lic a tio n s ,  th e y   m a y   b e   s to r e d   w ith in  
JS P   p a g e s
s e v e r a l  s u b d ir e c to r ie s .
s ty le s h e e ts
e tc .
A ll  a p p lic a tio n   s p e c ific   file s   a n d   d ir e c to r ie s   th a t 
W E B   IN F /
a r e   n o t  d ir e c tly   a c c e s s ib le   th r o u g h   th e   b r o w s e r  
a r e   s to r e d   u n d e r   th e   W E B   IN F /  d ir e c to r y .  T h e  
W e b   A p p lic a tio n   D e p lo y m e n t  D e s c r ip to r   w e b .xm l 
w e b .xm l
m u s t  b e   lo c a te d   in   th e   W E B   IN F /  d ir e c to r y .
P a c k a g e s   a n d   th e ir   c la s s e s   ( in c lu d in
c la s s e s /
s e r v le ts )   a r e   s to r e d   in   th e   c la s s e s / 
d ir e c to r y .  T h e   p a c k a g e   n a m e   m u s t 
e q u a l  th e   s u b d ir e c to r y   n a m e .
p a c k a g e 1 /
.c la s s  file s
p a c k a g e 2 /
.c la s s  file s
T h e   lib /  d ir e c to r y  
lib /
c o n ta in s   th e   JA R   file s , 
a n d   o th e r   lib r a r ie s   o r  
d r iv e r s .
lib r a r ie s ,  e .g .
JA R  file s
Figure 6: Standard Directory Layout, Servlet API Specification V2.2 
41 




Java Web Hosting Application Development Using Java Technologies Hosting




 
TotalRoute.net Business web hosting division of Vision Web Hosting Inc. All rights reserved.