File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
The moose likes JSP and the fly likes Where is My Web Root? Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login

Win a copy of Android Security Essentials Live Lessons this week in the Android forum!
JavaRanch » Java Forums » Java » JSP
Bookmark "Where is My Web Root?" Watch "Where is My Web Root?" New topic

Where is My Web Root?

JiaPei Jen
Ranch Hand

Joined: Nov 19, 2000
Posts: 1309
The project that I am working on is structured like below in IDE:


The web root is directly under 'abcweb'? or directly under 'abcweb/WebContent'?

Thanks in advance.
Christophe Verré

Joined: Nov 24, 2005
Posts: 14687

I think that it actually depends on how you deploy your application in the web container, not on your IDE structure.
With Tomcat, I would say that the root is under the folder containing the application (webapps/myapp/...)

[My Blog]
All roads lead to JavaRanch
Don't get me started about those stupid light bulbs.
subject: Where is My Web Root?
Similar Threads
Path to JavaScript or CSS
Applet in web application
Problem running a simple JSF application
In a WebProject, where is the best place for jsp's?
web application not visible.