url redirect activate
git-svn-id: http://svn.research-infrastructures.eu/public/d4science/gcube/trunk/data-transfer/uri-resolver@100664 82a268e6-3cf1-43bd-a215-b396298e98cf
This commit is contained in:
parent
80d26b71e9
commit
1e961a0593
|
@ -194,14 +194,13 @@ public class GisResolver extends HttpServlet{
|
||||||
logger.info("Gis Viewer Application url is: " + gisPortletUrl);
|
logger.info("Gis Viewer Application url is: " + gisPortletUrl);
|
||||||
gisPortletUrl+="?wmsrequest="+wmsRequest;
|
gisPortletUrl+="?wmsrequest="+wmsRequest;
|
||||||
|
|
||||||
resp.setContentType(TEXT_PLAIN);
|
/*resp.setContentType(TEXT_PLAIN);
|
||||||
resp.setCharacterEncoding(UTF_8);
|
resp.setCharacterEncoding(UTF_8);
|
||||||
|
|
||||||
PrintWriter out = resp.getWriter();
|
PrintWriter out = resp.getWriter();
|
||||||
out.println(gisPortletUrl);
|
out.println(gisPortletUrl);
|
||||||
logger.info("returning link: " + gisPortletUrl);
|
logger.info("returning link: " + gisPortletUrl);
|
||||||
out.close();
|
out.close();*/
|
||||||
// urlRedirect(req, resp, gisPortletUrl);
|
urlRedirect(req, resp, gisPortletUrl);
|
||||||
} catch (Exception e) {
|
} catch (Exception e) {
|
||||||
logger.error("Exception:", e);
|
logger.error("Exception:", e);
|
||||||
String error = "Sorry, an error occurred on resolving request with UUID "+gisUUID+" and scope "+scope+". Please, contact support!";
|
String error = "Sorry, an error occurred on resolving request with UUID "+gisUUID+" and scope "+scope+". Please, contact support!";
|
||||||
|
|
Loading…
Reference in New Issue