HttpServletRequest.getRealPath() broken in Virgo? [message #637310] |
Thu, 04 November 2010 21:08  |
Eclipse User |
|
|
|
I am using HttpServletRequest.getRealPath() to return a location which I am using to generate a jasper report into and then return a link to it for a web page. In dm server 2.0.0, this was working and returned a string like C:\Insight\dmserver\work\osgi\configuration\org.eclipse.osgi \bundles\38\data\store\org.eclipse.osgi\bundles\93\1\bundlef ile\ but with the new 2.1.0-RELEASE version of virgo, looks like C:\Insight\dmserver\null\. As the JEE API javadocs show this method as deprecated, I tried getting the ServletContext and calling getRealPath() on it as the javadocs suggest, but get the same result with it also.
Is this a known issue? Do I need to create an example and file a bug?
|
|
|
|
|
|
Powered by
FUDForum. Page generated in 0.03509 seconds