Changeset 8801


Ignore:
Timestamp:
2004-12-14T14:54:51+13:00 (19 years ago)
Author:
kjdon
Message:

the service may not be part of a cluster/collection, so check the cluster name before using it in the request address

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/gsdl3/src/java/org/greenstone/gsdl3/action/ProcessAction.java

    r8677 r8801  
    5151
    5252    // where to send requests
    53     String to = cluster_name;
    54     to = GSPath.appendLink(to, service_name);
     53    String to;
     54    if (cluster_name != null) {
     55       
     56        to = GSPath.appendLink(cluster_name, service_name);
     57    } else {
     58        to = service_name;
     59    }
    5560
    5661    if (!request_type.equals("d")) {
Note: See TracChangeset for help on using the changeset viewer.