Skip to main content


         This documentation site is for previous versions. Visit our new documentation site for current releases.      
 

Adding a servlet

Updated on March 15, 2022

Add a new servlet, without editing the web.xml file, by cloning and modifying existing servlets where necessary.

Note: When you make changes in Servlet Management, you need to restart your system for the changes to take effect.

  1. In the header of Dev Studio, click ConfigureSystemSettingsServlet & Filter ManagementServlet.
  2. On theServlet Management landing page, click Add servlet.
  3. In the Servlet name field, enter a label for the servlet.
  4. In the Purpose field, enter a description why you want to add the new servlet.
  5. In the Servlet authentication type field, enter the authentication type used for the servlet.
  6. 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.
  7. 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.
  8. Click Add.
  9. Restart your entire environment from My Pega Cloud.
What to do next: To request a restart of the entire environment, select New request in My Support Portal. For more information, see: Restart your entire environment from My Pega Cloud. For more information, see .
  • 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.

Have a question? Get answers now.

Visit the Support Center to ask questions, engage in discussions, share ideas, and help others.

Did you find this content helpful?

Want to help us improve this content?

We'd prefer it if you saw us at our best.

Pega.com is not optimized for Internet Explorer. For the optimal experience, please use:

Close Deprecation Notice
Contact us