Get the App
SLTechnology News&Howtos  ›  Development  › 

How to register for Servlet

Shulou Source: shulou.com Published: 2022-06-02 07:42:20 10月27日 Update

This article is about how to register Servlet. The editor thinks it is very practical, so share it with you as a reference and follow the editor to have a look.

In Weblogic, you can't use it until Servlet is registered, so how do you register with Servlet? Adi refers to the documentation provided by SUN and summarized as follows:

Find the file web.xml in the c:\ bea\ wlserver6.0sp1\ config\ mydomain\ applications\ defaultWebapp_myserver\ web-inf\ directory and open it with notepad. You will see the following content in it:

This is what we are going to modify. Refer to the explanation of each element in the document provided by SUN, and the modification results are as follows:

TestUseServlet

Testservlet.TestUseServlet

TestUseServlet

DBTest

Myservlet

Mypackage.Myservlet

Myservlet

Myservlet

Thank you for reading! This is the end of the article on "how to register for Servlet". I hope the above content can be of some help to you, so that you can learn more knowledge. if you think the article is good, you can share it for more people to see!

Tags: Content references documents more articles good practical elements that is files articles directories see knowledge results notepad Adi help related explanation Apple Docker Huawei Linux macOS MariaDB Microsoft MySQL NVidia OPPO Reno Shulou Technology Apple NVidia Microsoft Redmi