struts-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "olivier" <o...@noos.fr>
Subject RE: general directory structure question
Date Wed, 15 Jan 2003 22:26:10 GMT
Hi,
Dunno where I read this but for security reasons you should put all your
jsps in a subdir of WEB-INF, such as /WEB-INF/jsp
Also, you should put the jars you need at compile time in a different
directory than the jar needed at runtime :
for instance, your app may need classes12.zip (oracle) *and* hsql.jar
(hypersonic SQL) to compile and be db-agnostic
but you know you'll deploy on an oracle only system and therefore you don't
need hsql.jar at runtime

depending on your IDE and the size of the dev team, you might want to
consider using ant to ease compilation and make sure the whole team respects
the dir structure you've chosen

regards,
Olivier

-----Message d'origine-----
De : Ashish Kulkarni [mailto:kulkarni_ash1312@yahoo.com]
Envoye : mardi 14 janvier 2003 20:16
A : struts-user@jakarta.apache.org
Objet : general directory structure question


Hi,
I have to work on a web project and need some comments
on the directory structure i will be using, the below
diagram gives the overview of the directory structure,
need comments on it
c:\mywebsite	-
		|
		|-WEB-INF-|
		|	  |- web.xml
		| 	  |
		|	  |- classes-
		|	  |	     |
		|	  |	     -all xml files
		|	  |	     |- all class files
		|	  |- lib all jar file
		|
		|-pages- |
		|	 |- index.html all jsp & images
		|
		|
		|-Src-|
		|     |- org etc all java casses
		|
		|
		|-Doc-|
		      |-Documentation


=====
A$HI$H

__________________________________________________
Do you Yahoo!?
Yahoo! Mail Plus - Powerful. Affordable. Sign up now.
http://mailplus.yahoo.com

--
To unsubscribe, e-mail:
<mailto:struts-user-unsubscribe@jakarta.apache.org>
For additional commands, e-mail:
<mailto:struts-user-help@jakarta.apache.org>


--
To unsubscribe, e-mail:   <mailto:struts-user-unsubscribe@jakarta.apache.org>
For additional commands, e-mail: <mailto:struts-user-help@jakarta.apache.org>


Mime
View raw message