RAD Communication
If the WebApp component is running in RAD, the launch configuration is resolved as follows:
Procedure
- The launch configuration for the web application DAA or composite file is resolved.
- The contextRoot and defaultConnector property values are extracted from the composite resource. The HTTP port number associated with the defaultConnector property is then extracted from the Debug/RunConfiguration > Advanced > HTTP Connectors section.
-
A test URL using
contextRoot and HTTP port number
(http://localhost:port number/contextRoot) is constructed. It opens it
in the Eclipse internal browser.
- If contextRoot is mapped to a welcome page, the browser displays the welcome page.
- If contextRoot is not mapped to a welcome page, the browser loads the RAD testing page, which displays all the servlets and their mappings from web.xml. Click on any servlet link in the RAD testing page to load the associated web page in other frame.
Copyright © 2022. Cloud Software Group, Inc. All Rights Reserved.