File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
A friendly place for programming greenhorns!
Big Moose Saloon
Search
|
Java FAQ
|
Recent Topics
Register / Login
JavaRanch
»
Java Forums
»
Certification
»
Web Component Certification (SCWCD/OCPJWCD)
Author
what is document root?
yamini nadella
Ranch Hand
Joined: Apr 13, 2004
Posts: 257
posted
Jul 09, 2004 13:48:00
0
is it web application root or WEB-INF folder?
Anthony Watson
Ranch Hand
Joined: Sep 25, 2003
Posts: 327
posted
Jul 09, 2004 14:56:00
0
It's the parent directory of WEB-INF
Anthony W.<br />MCP, SCJP 1.4, SCJD, SCWCD 1.3, SCWCD 1.4, SCBCD
kriti sharma
Ranch Hand
Joined: Feb 16, 2001
Posts: 160
posted
Jul 12, 2004 08:48:00
0
this gives the document root for the server installation at your system.
public void init()
{
ServletContext
context = getServletContext();
path = context.getRealPath("/");
System.out.println(path);
}
I agree. Here's the link:
http://ej-technologies/jprofiler
- if it wasn't for jprofiler, we would need to run our stuff on 16 servers instead of 3.
subject: what is document root?
Similar Threads
taglib location
how to hide application name in url
Directory Structure
Including files using the deployement descriptor
form-login-config
All times are in JavaRanch time: GMT-6 in summer, GMT-7 in winter