permaculture playing cards*
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
Author

Directory Structure

Tahir Ehsan
Greenhorn

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
Marshal

Joined: Jan 10, 2002
Posts: 60822
    
  65

Is myfile the root of another web application?


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

Joined: Dec 11, 2004
Posts: 13410

Duplicate of:
http://www.coderanch.com/t/291782/JSP/java/jsp-useBean-help-required

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
 
With a little knowledge, a cast iron skillet is non-stick and lasts a lifetime.
 
subject: Directory Structure
 
Similar Threads
where i need to place my java bean file in the tomcat
tomcat
jsp:useBean help is required
Simple prob
Tomcat 4.0 and JSP- problem using beans