Forums Register Login

is WEB-INF and web-inf same??

+Pie Number of slices to send: Send
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???`
+Pie Number of slices to send: Send
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.
+Pie Number of slices to send: Send
Client can not access any of the resources existing in WEB-INF
+Pie Number of slices to send: Send
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.
+Pie Number of slices to send: Send
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.
It's just a flesh wound! Or a tiny ad:
a bit of art, as a gift, that will fit in a stocking
https://gardener-gift.com


reply
reply
This thread has been viewed 625 times.
Similar Threads
WEB mail solution
Enthuware practice test question
JSP and Java Script
Securing JSP
Accessing jsp's directly
More...

All times above are in ranch (not your local) time.
The current ranch time is
Mar 28, 2024 22:34:31.