> Markdown version of [Step 2 - Removing legacy Servlets](https://vaadin.com/docs/v14/tools/mpr/introduction/step-2-legacy-servlets). Section index: [llms.txt](https://vaadin.com/docs/v14/tools/llms.txt)

# Step 2 - Removing legacy Servlets

The MPR framework manages the VaadinServlets to make sure the correct requests are routed to the right frameworks (either Flow or Vaadin 7/8). For that to work properly, all legacy VaadinServlets need to be removed. If you need some custom functionality, you can use the VaadinServlet provided by Flow instead.

See [Flow documentation on Dynamic content](https://vaadin.com/docs/v14/flow/advanced/tutorial-dynamic-content#using-custom-servlet-and-request-parameters) for details.

## <a id="next-step"></a>Next step

- [Step 3 - Converting legacy UIs →](https://vaadin.com/docs/v14/tools/mpr/introduction/step-3-legacy-uis.md)

Or:

- [← Go back to step 1](https://vaadin.com/docs/v14/tools/mpr/introduction/step-1-migration-guide.md)

- [← Go back to the overview](https://vaadin.com/docs/v14/tools/mpr/overview.md)

`B0811CEA-29E0-4DCF-BE99-901C28D4820F`
