Changeset 3972


Ignore:
Timestamp:
2003-03-25T09:47:52+12:00 (21 years ago)
Author:
kjdon
Message:

receptionist now forwards non-cgi requests straight to the mesage router

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/gsdl3/src/java/org/greenstone/gsdl3/core/Receptionist.java

    r3644 r3972  
    140140    String type = request.getAttribute(GSXML.TYPE_ATT); // returns "" if no att of this name
    141141    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);
    144147    }   
    145148    // work out which action to pass to
Note: See TracChangeset for help on using the changeset viewer.