Project

General

Profile

« Previous | Next » 

Revision f7c6ca9f

Added by Andreas Kohlbecker almost 12 years ago

fixing absolute urls #3

View differences:

src/main/webapp/manage/index.jsp
90 90
                                             for(CdmInstanceProperties props : configAndStatus){
91 91
                                               i++;
92 92

  
93
                                               String basePath = "../" + props.getDataSourceName();
94
                                                   URL fullURL = new URL(request.getScheme(),
93
                                               String basePath = props.getDataSourceName();
94
                                                  /*  URL fullURL = new URL(request.getScheme(),
95 95
                                                           request.getServerName(),
96 96
                                                           request.getServerPort(),
97
                                                           basePath);
97
                                                           basePath); */
98

  
99
                                                   String fullURL = "../" + basePath;
98 100

  
99 101
                                                   String oddOrEven = i % 2 == 0 ? "odd" : "even";
100 102
                                                   String noBottomBorder = props.getStatus().equals(CdmInstanceProperties.Status.error) ? " style=\"border-bottom:none;\"" : "";

Also available in: Unified diff