parms.putAll(this.getPortletConfig().getInitParameters());
// Add web app root variable replacement
try
{
ServerData sd = new ServerData(TurbineServlet.getServerName(),
Integer.parseInt(TurbineServlet.getServerPort()),
TurbineServlet.getServerScheme(),
TurbineServlet.getContextPath(),
TurbineServlet.getContextPath());
DynamicURI uri = new DynamicURI(sd);