In this section, you will drill down into all of the information that Workshop can make available about your web pages. You will use the Outline View, the Variables View and the Property Sheet to inspect a web page and discover details about the structure of the page and the dynamic data which appears within it.
Workshop for JSP parses web pages as part of the process of building its Application Database. This allows Workshop for JSP to understand not only the JSP tags that appear on the page, but localized images and messages that are referenced from resource bundles, bean properties that are used in the page and JSP includes that should appear as part of the page. All of this information is easily accessible through the IDE user interface.
default.jsp
in the AppXplorer to open this page.
checkoutShipping.jsp
in the AppXplorer to open this page.
The Variables view displays a scrollable list of variables, the first three of which are:
The html:form tag is highlighted in the source code, indicating that this variable is available because it is the form bean associated with the Struts form.
The jsp:useBean tag is highlighted in the source code, indicating that this variable is available because it is the profile variable of the useBean tag.
A tooltip is displayed, indicating that this variable is not declared in this page but is set externally and that it has a session scope.
You can use the context menu commands to:
The node is expanded to show the variable's bean properties.
Note that clicking on any of the bean properties highlights the page content that uses the selected variable or property (if any).
shoppingcart.jsp
in the AppXplorer to open this page.
Working with web pages
Using the variables view
Click one of the following arrows to navigate through the tutorial: