30.2. Sample scenario
This section provides a sample scenario to illustrate how to fix compile and runtime errors in portlets using the debug functions provided by Rational Application Developer. You will use the portlet used in Chapter 6, “IBM Portlet API portlet development” on page 203 as a base for this scenario. These activities will allow you to understand the techniques used to debug portlets.
30.2.1. Fixing compile errors
In this section, an example is provided to illustrate a Java code validation. An invalid character will be entered in the Java code to introduce an error and illustrate the correction process.
Rational Application Developer provides different validators for different types of project resources, for example XML, HTML ...