Changeset 4694
- Timestamp:
- 2003-06-18T11:41:33+12:00 (21 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/gsdl3/src/java/org/greenstone/gsdl3/action/ProcessAction.java
r4257 r4694 32 32 String service_name = (String) params.get(GSCGI.SERVICE_ARG); 33 33 String cluster_name = (String) params.get(GSCGI.CLUSTER_ARG); 34 String re quest_only_p = (String)params.get(GSCGI.REQUEST_ONLY_ARG);35 boolean re quest_only = false;36 if (re quest_only_p!=null) {37 re quest_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); 38 38 } 39 39 String request_type = (String) params.get(GSCGI.REQUEST_TYPE_ARG); … … 79 79 Element result_response = (Element)GSXML.getChildByTagName(mr_query_response, GSXML.RESPONSE_ELEM); 80 80 81 if (re quest_only) {81 if (response_only) { 82 82 // just send the reponse as is 83 83 return result_response;
Note:
See TracChangeset
for help on using the changeset viewer.