wood burning stoves 2.0*
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 Murach's Java Servlets and JSP this week in the Servlets forum!
JavaRanch » Java Forums » Java » JSP
Bookmark "Where is My Web Root?" Watch "Where is My Web Root?" New topic
Author

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:

abcbuild
abcconfiguration
abccommon
...
...
abcejb
abcweb
...
...
src
WebContent
...
...

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

Thanks in advance.
Christophe Verré
Sheriff

Joined: Nov 24, 2005
Posts: 14687
    
  16

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: http://aspose.com/file-tools
 
subject: Where is My Web Root?
 
Similar Threads
Problem running a simple JSF application
In a WebProject, where is the best place for jsp's?
Path to JavaScript or CSS
Applet in web application
web application not visible.