my dog learned polymorphism
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
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: 63548

Is myfile the root of another web application?

[Asking smart questions] [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!