Changeset 12021 for trunk/gsdl3/src/java/org/greenstone
- Timestamp:
- 2006-07-06T09:46:25+12:00 (18 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/gsdl3/src/java/org/greenstone/gsdl3/LibraryServlet.java
r11023 r12021 59 59 String interface_name = config.getInitParameter(GSConstants.INTERFACE_NAME); 60 60 this.default_lang = config.getInitParameter(GSConstants.DEFAULT_LANG); 61 61 62 if (library_name == null || interface_name ==null) { 62 63 // must have this … … 179 180 throws ServletException, IOException { 180 181 182 181 183 HttpSession session = request.getSession(true); 182 184 String uid = (String)session.getAttribute(GSXML.USER_ID_ATT); 183 185 if (uid ==null) { 184 186 uid = ""+getNextUserId(); … … 283 285 response.setContentType("text/xml"); // for now use text 284 286 } 285 287 288 //GSXML.printXMLNode(xml_message); 289 286 290 Element xml_result = this.recept.process(xml_message); 287 291 encodeURLs(xml_result, response); … … 330 334 } 331 335 336 public void doPost(HttpServletRequest request, 337 HttpServletResponse response) 338 throws ServletException, IOException { 339 doGet(request,response); 340 341 } 332 342 }
Note:
See TracChangeset
for help on using the changeset viewer.