Relative Paths and Absolute Path in Java


  1. Relative paths is the one the do not start with a  forward slash(/) or a backward slash(\).Example for Relative path:  -classpath dirB: dirB/dirC.  The relative path is meaningfull only when the user current directory is directory A where B is its sub directory.
  2. Absolute paths start with a slash. Indicates the root directory.

Comments

Popular posts from this blog

Spring MVC- Redirect from one controller to another

Jquery Table Inline Edititing