You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@wicket.apache.org by "adrian pascuts (JIRA)" <ji...@apache.org> on 2010/04/01 14:40:30 UTC
[jira] Created: (WICKET-2815) public String getRealPath(String
name) in public class MockServletContext implements ServletContext
public String getRealPath(String name) in public class MockServletContext implements ServletContext
----------------------------------------------------------------------------------------------------
Key: WICKET-2815
URL: https://issues.apache.org/jira/browse/WICKET-2815
Project: Wicket
Issue Type: Improvement
Environment: unit testing with eclipse
Reporter: adrian pascuts
try
{
Resource resource=ContextHandler.this.getResource(path);
if(resource!=null)
{
File file = resource.getFile();
if (file!=null)
return file.getCanonicalPath();
}
}
catch (Exception e)
{
Log.ignore(e);
}
return null;
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.