![]() |
![]() |
![]() |
![]() |
In this section, you will see how Workshop advises you of the potential problems that can develop as you make changes to your application.
The Workshop group of products maintain an incrementally updated database containing all the interdependencies and relationships between the web application artifacts. For example:
web.xml
). When any of the web application artifacts are modified, the IDE automatically performs a consistency check and reports any problems that it detects as warnings.
An important benefit of this approach is that problems are detected early during development of the web application without the need for an explicit "build" or "check" operation.
checkoutPayment.jsp
in
the AppXplorer to open this page. profile
variable,
and choose the first menu item. The Profile.java
file,
which implements the variable type, is opened. getFirstName()
method:
public String getFirstName()
{
return m_firstName;
}
getFirstName()
to getGivenName()
,
and save the Java file. A warning is displayed in the Problems view indicating that the firstName field is undefined for the type Profile.
getGivenName()
back to getFirstName()
. Saving the Java file removes the error entry from the Problems view.
WEB-INF/struts-config.xml
in
the AppXplorer to open this page. A warning is displayed in the Problems view, indicating that the changeLocale action cannot be found in the Struts configuration file.
Saving the file removes the warning from the Problems view.
Click the arrow to navigate through the tutorial:
![]() ![]() |