Win a copy of The Little Book of Impediments (e-book only) this week in the Agile and Other Processes forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

is WEB-INF and web-inf same??

 
Biren shah
Ranch Hand
Posts: 107
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
hi in deploying an application..
if my web application is named as webmail and i have two directories like this..

webmail/WEB-INF/classes
and webmail/web-inf/jsp
then can i put my jsp's in web-inf/jsp package..
and can my client directly call those jsp's???

does tomcat and other web-servers are case-sensitive to the package structure or not???`
 
Christophe Verré
Sheriff
Posts: 14691
16
Eclipse IDE Ubuntu VI Editor
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
It is case-sensitive, as stated in the spec, since requests are matched to resource mappings in a case-sensitive manner. Do not create two directories like this, you're calling for troubles.
 
salil verma
Greenhorn
Posts: 22
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Client can not access any of the resources existing in WEB-INF
 
salil verma
Greenhorn
Posts: 22
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Client can not access any of the resources existing in WEB-INF directory. So only put those jsp files of resources to which you want to use in the application but do not want to let the client use it directly.
 
Yi Yuan
Greenhorn
Posts: 22
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
What operation system do you use ?
If yours is Microsoft Windows, you aren't able to create these two folders "webmail/WEB-INF" & "webmail/web-inf" at the same time.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic