We will now add the Red5 Pro context files to our project by locating the live application that is included with the Red5 Pro Server distribution.
Select and Copy the WEB-INF folder
From Eclipse, right-click the src > main > webapp folder in the Project Explorer view
Paste the previously copied WEB-INF folder
Click the Overwrite All button
Delete the classes directory inside of src > main > webapp > WEB-INF
Expand back into src > main > webapp > WEB-INF and open red5-web.properties
Modify the webapp.contextPath property to be /example
Expand src > main > webapp > WEB-INF and open the red5-web.xml file
Edit the web.handler bean and set the class to com.red5pro.example.ExampleApplication (substitute the package structure according to the package you chose in Create Maven Webapp Project Step 10 above)
Comment out the streams bean
Verify that your red5-web.xml file looks similar to the following:
Expand src > main > webapp > WEB-INF and open the web.xml file
Modify the display-name tag so that its contents are example
Modify the context-param webAppRootKey so that its contents are example