<form id="hz9zz"></form>
  • <form id="hz9zz"></form>

      <nobr id="hz9zz"></nobr>

      <form id="hz9zz"></form>

    1. 明輝手游網中心:是一個免費提供流行視頻軟件教程、在線學習分享的學習平臺!

      WebLogic的初步研究(2-2)

      [摘要]關于Servlet   出于安全的目的,在 WebLogic 下運行的 WebLogic 必須在 weblogic.properties 里登記后才能運行,例如上文的提到Servlet http://localhost:7001/helloWorld, 它在weblogic.properties ...
      關于Servlet

        出于安全的目的,在 WebLogic 下運行的 WebLogic 必須在 weblogic.properties 里登記后才能運行,例如上文的提到Servlet http://localhost:7001/helloWorld,

      它在weblogic.properties 里的登記項是

      weblogic.httpd.register.helloWorld=examples.servlets.HelloWorldServlet

      實際上,這個 Servlet 的實際路徑是

      /weblogic/myserver/servletclasses/examples/servlets/HelloWorldServlet.class

        對照一下weblogic.properties里的登記項和HelloWorldServlet.class文件的路徑,應該不難找出其登記Servlet的規律吧。


      在weblogic.properties里有一下幾個Servlet的登記項:

      weblogic.httpd.register.AdminEvents=admin.AdminEvents

      weblogic.httpd.register.AdminClients=admin.AdminClients weblogic.httpd.register.AdminConnections=admin.AdminConnections weblogic.httpd.register.AdminJDBC=admin.AdminJDBC

      weblogic.httpd.register.AdminLicense=admin.AdminLicense

      weblogic.httpd.register.AdminMain=admin.AdminMain

      weblogic.httpd.register.AdminProps=admin.AdminProps

      weblogic.httpd.register.AdminRealm=admin.AdminRealm

      weblogic.httpd.register.AdminThreads=admin.AdminThreads weblogic.httpd.register.AdminVersion=admin.AdminVersion


        這就是管理員管理 WebLogic 用的Servlet,通過URL訪問http://localhost:7001/AdminMain,在彈出的身份驗證對話框了輸入 system 和在 weblogic.password.system= 設置的密碼,就可以進入 WebLogic 的Web管理界面進行管理。




      日韩精品一区二区三区高清