p e r m it/  is   th e   to p   le v e l  s o u r c e   d ir e c to r y   o f  th e   a p p lic a tio n .  A ls o   in c lu d e d   to   th e  
p e r m it /
to p   le v e l  d ir e c to r y   a r e   two   a d d tio n a l  s h e ll  s c r ip ts .  n e w tc .s h   r e s ta r ts   T o m c a t. 
c h p e r m .s h   c h a n g e s   th e   a c c e s s   p e r m is s io n s   r e c u r s iv e ly   fo r   th e   w h o le   s o u r c e  
d ir e c to r y   ( g r a n tin g   w r ite   p e r m is s io n   to   th e   d e v e lo p e r  s   g r o u p ) .
b u ild .xm l
b u ild .s h
n e w tc .s h
c h p e r m .s h
th e   e tc /  d ir e c to r y   c o n ta in s   th e   W e b  
e t c /
A p p lic a tio n   D e p lo y m e n t  D e s c r ip to r   fo r   th e  
P e r m it  S y s te m .
w e b .xm l
th e   /lib   d ir e c to r y   is   e m p ty ,  s in c e   n o  
lib /
lib r a r ie s   h a v e   b e e n   u s e d .
th e   s o u r c e /  d ir e c to r y   c o n ta in s   a ll  Ja v a  
s r c /
s o u r c e   c o d e   ( in c lu d in g   th e   s e r v le ts )  
w ith in   th e   P e r m it  p a c k a g e . 
P e r m it /
.ja v a  file s
w e b /
th e   w e b /  d ir e c to r y   c o n ta in s   th e   p a g e   b a n n e r ,  th e  
d is c la im e r ,  a n d   th e   s ty le   s h e e t.  T h o s e   d o c u m e n ts  
a r e   in c lu d e d   to   a lm o s t  a ll  JS P   p a g e s   a n d   s e r v le ts .
b a n n e r .h tm l
d is c la im e r .h tm l
s ty le .c s s
th e   in te r n a l/  d ir e c to r y  
in t e r n a l/
c o n ta in s   a ll  JS P   p a g e s   fo r  
th e   d e p a r tm e n t  in te r n a l 
*_ in t.js p  file s
p a r t  o f  th e   a p p lic a tio n .
th e   e xte r n a l/  d ir e c to r y  
e x t e r n a l/
c o n ta in s   a ll  JS P   p a g e s   fo r  
th e   e xte r n a lly   a c c e s s ib le  
*_ e xt.js p  file s
p a r t  o f  th e   a p p lic a tio n .
c o n ta in s   th e   a p p lic a tio n  s  
im a g e s /
im a g e   file s .
d ir e c to r y   fo r   u p lo a d e d  
d r a w in g s /
d r a w in g   file s .
Figure 17: Source Code Directory Structure for the Permit System 
70 




Java Web Hosting Application Development Using Java Technologies Hosting




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