How to register for Servlet
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!