Location of jsp folder

Hello

jsp folder should be under application root or under WEB_INF folder like this:

myWebApplication

+jsp

first.jsp

second.jsp

-WEB_INF

+classes

first.class

second.class

Or like this:

myWebApplication

-WEB_INF

+jsp

first.jsp

second.jsp

+classes

first.class

second.class

And could you please explain why

Thank you

shoa

[456 byte] By [sonhoanga] at [2007-11-26 16:00:29]
# 1

Sounds like a homework question to me.

Just be aware that anything in/under the WEB-INF directory is not directly accessible. Those JSPs can only be forwarded to or included.

Sometimes thats what you want, sometimes its not.

http://java.sun.com/blueprints/corej2eepatterns/Patterns/FrontController.html

evnafetsa at 2007-7-8 22:21:54 > top of Java-index,Enterprise & Remote Computing,Web Tier APIs...