Changeset 3972
- Timestamp:
- 2003-03-25T09:47:52+12:00 (21 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/gsdl3/src/java/org/greenstone/gsdl3/core/Receptionist.java
r3644 r3972 140 140 String type = request.getAttribute(GSXML.TYPE_ATT); // returns "" if no att of this name 141 141 if (!type.equals(GSXML.REQUEST_TYPE_CGI)) { 142 System.err.println("Receptionist Error: request type should be '"+GSXML.REQUEST_TYPE_CGI+"', but it was '"+type+"'!"); 143 return null; 142 // now Receptionist forwards non-cgi requests straight to the MR, and returns the responses 143 System.err.println("Receptionist: request type is not '"+GSXML.REQUEST_TYPE_CGI+"', but it is '"+type+"', so forwarding the message to the MR!"); 144 // process teh whole message - mr needs <message> tags, and 145 // in this case, there may be more than one request in the message 146 return mr_.process(message); 144 147 } 145 148 // work out which action to pass to
Note:
See TracChangeset
for help on using the changeset viewer.