This is a feature of JBuilder Professional and Enterprise.
You use the Type Or Choose URI To Launch dialog box to launch a specific part of a web application. You can either directly type the URI (Universal Resource Identifier) into the URI text field at the top of the dialog box or choose the WebApp and URI from the trees at the bottom of the dialog box.
To display this dialog box, click the ellipsis button to the right of the Launch URI field on the JSP/Servlet Run page of the Project Properties dialog box.
The URI to launch. You can either type it in, or choose it from the WebApp drop-down list and the three trees at the bottom of the dialog box.
The WebApp of the URI you want to run. This list displays all WebApps that are defined in your project.
The three different trees at the bottom of the dialog box roughly correspond to the different kinds of servlet mappings. The File, or web content, tree on the left creates URIs that would probably match either extension mappings (like *.jsp) or not match anything and get served by the default servlet. The Servlet Mapping tree in the middle contains URL patterns for exact matches. The Servlet Class tree on the right creates URIs that would match the servlet invoker.
For more information about URL mappings, see "How URLs run servlets."
URI dialog box trees
Tree Name | Description | Example of resulting URI |
---|---|---|
File (HTML, JSP, etc.) | All HTML-type files in the selected WebApp. | /selectedwebapp/hello.html or /selectedwebapp/login.jsp |
Servlet Mapping | All URL pattern values that do not contain wildcards. Allows a user to invoke a servlet or JSP by name. This value was entered into the Name/URL Pattern fields on the Choose servlet name and type page of the Servlet wizard. | /selectedwebapp/form or /selectedwebapp/table |
Servlet Class | All classes in the opened project; however, the classes displayed are assumed to be servlets and are executed using the web server's servlet invoker. | /selectedwebapp/servlet/com.test.MyServlet |