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.
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. - The
contextRoot
anddefaultConnector
property values are extracted from the composite resource. The HTTP port number associated with thedefaultConnector
property is then extracted from the Debug/Run Configuration > 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.IfcontextRoot
is mapped to a welcome page, the browser displays the welcome page.IfcontextRoot
is not mapped to a welcome page, the browser loads the RAD testing page, which displays all the servlets and their mappings fromweb.xml
. Click any servlet link in the RAD testing page to load the associated web page in other frame.