Adding a servlet
Add a new servlet, without editing the web.xml
file, by cloning
and modifying existing servlets where necessary.
- In the header of Dev Studio, click .
- On theServlet Management landing page, click Add servlet.
- In the Servlet name field, enter a label for the servlet.
- In the Purpose field, enter a description why you want to add the new servlet.
- In the Servlet authentication type field, enter the authentication type used for the servlet.
- In the Initialization parameters section, click the Add link, and then enter the name and value of the initialization parameters that you want to add to the servlet.
- In the URL patterns section, click the
Add link, and then define any additional URL pattern
to the servlet. The first URL pattern is the same as the pattern that appears in the Servlet name field.
- Click Add.
- Restart your entire environment from My Pega Cloud.
- Cloning a servlet
Servlet Management is only available for Pega Cloud, and allows you to add, modify, and disable servlet configurations without editing the web.xml file. Clone a servlet to create a new servlet without having to recreate all the parameters.
- Configuring a servlet
Servlet Management is only available for Pega Cloud, and allows you to add, modify, and disable servlet configurations without editing the web.xml file. Create new servlets by cloning existing servlets and modifying where necessary.
- Disabling a servlet
Servlet Management is only available for Pega Cloud, and allows you to add, modify, and disable servlet configurations without editing the web.xml file. If there is a servlet that is not commonly used within the application and that you want to keep in the system, you can disable the servlet.
- Deleting a servlet
Servlet Management is only available for Pega Cloud, and allows you to add, modify, and disable servlet configurations without editing the web.xml file. You can delete user-defined servlets that are no longer used in the system and that you do not need to keep within the system.
- Moving the * URL pattern between servlets
The * is a wildcard character that is not used in the URL. * is the default servlet URL pattern that you can replace with another servlet.
Previous topic Servlet management Next topic Cloning a servlet