This week's book giveaway is in the OCAJP 8 forum.
We're giving away four copies of OCA Java SE 8 Programmer I Study Guide and have Edward Finegan & Robert Liguori on-line!
See this thread for details.
The moose likes JSP and the fly likes Directory Structure Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login

Win a copy of OCA Java SE 8 Programmer I Study Guide this week in the OCAJP 8 forum!
JavaRanch » Java Forums » Java » JSP
Reply locked New topic

Directory Structure

Tahir Ehsan

Joined: Apr 18, 2006
Posts: 9
When I place a jsp file in webapps/ROOT folder, then this file can access the bean from WEB-INF/classes folder. But when I place the jsp file in webapps/Root/myfile folder, then bean is not accessible to this jsp file(myfile is self created folder). What should I do, when I place the jsp file in ROOT/myfile folder so it can access the bean from classes folder.
Bear Bibeault
Author and ninkuma

Joined: Jan 10, 2002
Posts: 63349

Is myfile the root of another web application?

[Asking smart questions] [Bear's FrontMan] [About Bear] [Books by Bear]
Ben Souther

Joined: Dec 11, 2004
Posts: 13410

Duplicate of:

Please try to keep this conversation in one thread.
Spreading it over multiple threads creates confusion and wastes the time of those trying to help you.

Java API J2EE API Servlet Spec JSP Spec How to ask a question... Simple Servlet Examples jsonf
I agree. Here's the link:
subject: Directory Structure
It's not a secret anymore!