Revision 2726
Added by harris about 19 years ago
metacat_spatialresolver.jsp | ||
---|---|---|
38 | 38 |
String _request = request.getParameter("REQUEST"); |
39 | 39 |
_request = (_request!=null)? _request.trim() : ""; |
40 | 40 |
|
41 |
System.out.println("request param: >>" + _request); |
|
41 | 42 |
System.out.println("uri: >>" + request.getRequestURI()); |
42 | 43 |
System.out.println("request string: >>" + request.getQueryString()+" \n"); |
43 | 44 |
|
... | ... | |
71 | 72 |
in.close(); |
72 | 73 |
} else { |
73 | 74 |
System.out.println(" -- not a metacat query"); |
74 |
String _url = "http://sulphur.homelinux.com:9999/geoserver/wms?"+ request.getQueryString();
|
|
75 |
String _url = "/geoserver/wms?"+ request.getQueryString(); |
|
75 | 76 |
|
76 | 77 |
System.out.println("redirecting to: " + _url); |
77 | 78 |
response.setStatus(HttpServletResponse.SC_MOVED_PERMANENTLY); |
Also available in: Unified diff
Removed all hard links, and put the jsp page in the same context as the geoserver.