Changeset 4694


Ignore:
Timestamp:
2003-06-18T11:41:33+12:00 (21 years ago)
Author:
kjdon
Message:

GSCGI.REQUEST_ONLY_ARG has changed to GSCGI.RESPONSE_ONLY_ARG - I thought it made more sense, but does it??

File:
1 edited

Legend:

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

    r4257 r4694  
    3232    String service_name = (String) params.get(GSCGI.SERVICE_ARG);
    3333    String cluster_name = (String) params.get(GSCGI.CLUSTER_ARG);
    34     String request_only_p = (String)params.get(GSCGI.REQUEST_ONLY_ARG);
    35     boolean request_only = false;
    36     if (request_only_p!=null) {
    37         request_only = (request_only_p.equals("1")?true:false);
     34    String response_only_p = (String)params.get(GSCGI.RESPONSE_ONLY_ARG);
     35    boolean response_only = false;
     36    if (response_only_p!=null) {
     37        response_only = (response_only_p.equals("1")?true:false);
    3838    }
    3939    String request_type = (String) params.get(GSCGI.REQUEST_TYPE_ARG);
     
    7979        Element result_response = (Element)GSXML.getChildByTagName(mr_query_response, GSXML.RESPONSE_ELEM);
    8080       
    81         if (request_only) {
     81        if (response_only) {
    8282        // just send the reponse as is
    8383        return result_response;
Note: See TracChangeset for help on using the changeset viewer.