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 OCA Java SE 8 Programmer I Study Guide 1Z0-808 this week in the OCAJP 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: 14688

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
I agree. Here's the link:
subject: Where is My Web Root?