dzielnicowyfbi
New Member
When I would like to get a real path in J2EE, using this instructions:\[code\]String rootPath = getServletConfig().getServletContext().getRealPath("/");System.out.println(rootPath);\[/code\]The result is: C:\Users\saad\Desktop\pds.metadata.plugins\org.eclipse.wst.server.core\tmp0\wtpwebapps\Metier\And normaly, I have to get this result:C:\Users\saad\Desktop\pds\Metier\Can anyone help me, please?