Win a copy of Murach's Python Programming this week in the Jython/Python forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

Where to place?  RSS feed

 
subho saha
Ranch Hand
Posts: 57
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
In our web space we have 3 folders : db,Log and webroot.Where will I keep my jsp files and jar/Class files?Please direct?

[ January 14, 2006: Message edited by: subho saha ]
[ January 14, 2006: Message edited by: subho saha ]
 
Bear Bibeault
Author and ninkuma
Marshal
Posts: 65830
134
IntelliJ IDE Java jQuery Mac Mac OS X
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Whatever JSP engine you are using will have documentation on this. But in a nutshell...

Place the JSPs anywhere under the app root that you want. To hide the JSPs from direct access (which I almost always do), place them in a folder hierarchy unde WEB-INF. For direct access, place them anywhere outside of WEB-INF.

Class files go in the folder hierarchy under WEB-INF/classes. Be sure that all classes are in a package other than the default.

Jar files go in WEB-INF/lib.
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!