Question : How do I get the real path of my 'src' folder in Netbeans

Here's how my project folder looks like (i'm using netbeans):

/ProjectName
-->build
-->dist
-->nbproject
-->src
-->test
-->web

How do I get the real path of the src folder?
Using request.getContextPath returns my Apache Folder
However, the file is physically located in the netbeansproject folder which is different from the apache folder.

Answer : How do I get the real path of my 'src' folder in Netbeans

getServletContext().getRealPath("/")
Random Solutions  
 
programming4us programming4us