NI installation directory I chose the D:/program files/bea, select the full installation.
1. Start with program->bea WebLogic Platform 8.1-> Configuration Wizard, start the Configuration Wizard tool.
2. Select New WebLogic configuration and click Next.
3. Select Basic WebLogic Server Domain and click Next.
4. Select Custom and click Next.
5. Change name, here I change to Hgknight, click Next.
6. Select No and click Next.
7. Select No and click Next.
8. Select No and click Next.
9. Enter "User name" and "Password", click "Next", need 8 bit. 10. Select as the window service and click Next.
11. Default settings, click Next.
12. Bea WebLogic has JDK1.4.1 installed by default and I want to use the JDK 1.4.2. Select "Other Java SDK" and click "Browse" to specify the J2SDK 1.4.2 installation directory. Click Next.
13. Default Value setting, click Create.
14. Select Start Management Server and click Finish.
15. Start the Configuration Wizard tool again.
16. Select Extend existing WebLogic configuration and click Next.
17. Select/bea/user_projects/domains/mydomain and click Next.
18. Tick "Defaultwebapp" before clicking "Next".
19. Default settings, click Next.
20. Default settings, click Next.
21. Default settings, click Next.
22. Default settings, click Next.
23. You can change the configuration application location by default to "/bea/user_projects/applications/mydomain" and click "Import". After the import is complete, the system creates a Defaultwebapp directory under the application location, where it is used to place its own JSP.
24. Click Finish to end the configuration.
25. Services, management tools, Control Panel, start the service "Beasvc Mydomain_digiwave".
26. You can now open Http://127.0.0.1:7001/console and log in to the Administration page with your username and password.
Using a servlet, just define it in Web-inf/web.xml.
<web-app>
<servlet>
<servlet-name>ConfigServlet</servlet-name>
<servlet-class>ConfigServlet</servlet-class>
</servlet>
<servlet-mapping>
<servlet-name>ConfigServlet</servlet-name>
<url-pattern>/servlet/ConfigServlet</url-pattern>
</servlet-mapping>
</web-app>