Exemplo n.º 1
0
 private void initServerPath(HttpServletRequest request) {
   if (Global.getSharedObject("serverPath") == null) {
     String serverPath = RequestResolver.getServerPath(request);
     Global.shareObject("serverPath", serverPath);
   }
 }
Exemplo n.º 2
0
 /* (non-Javadoc)
  * @see javax.servlet.http.HttpServlet#doPost(javax.servlet.http.HttpServletRequest, javax.servlet.http.HttpServletResponse)
  */
 protected void doPost(HttpServletRequest arg0, HttpServletResponse arg1)
     throws ServletException, IOException {
   initServerPath(arg0);
   XmlRpcFacade facade = (XmlRpcFacade) Global.getBeanFactory().getBean("xml-rpc");
   facade.execute(arg0, arg1);
 }