Revision 5004
Added by daigle almost 15 years ago
MetaCatAdminServlet.java | ||
---|---|---|
145 | 145 |
if (PropertyService.arePropertiesConfigured()) { |
146 | 146 |
request.setAttribute("databaseVersion", |
147 | 147 |
DBAdmin.getInstance().getDBVersion()); |
148 |
request.setAttribute("contextURL", SystemUtil.getContextURL()); |
|
148 | 149 |
} |
149 | 150 |
RequestUtil.forwardRequest(request, response, |
150 | 151 |
"/admin/metacat-configuration.jsp?configureType=configure"); |
Also available in: Unified diff
Use context url instead of server IP. Server IP breaks if the server does not have an externally facing IP (behind a proxy server)