RAD Communication

If the WebApp component is running in RAD, the launch configuration is resolved as follows:

Procedure

  1. The launch configuration for the web application DAA or composite file is resolved.
    • If launched from DAA, the web.xml file is extracted from the composite file.
    • If launched from the composite file, web.xml is resolved from the Eclipse workspace.
  2. 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.
  3. 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.