Testing home servlet and market summary JSP

1. Log into the Trade3 application, for example using

http://app1.itso.ibm.com:9081/trade

2. Open the Cache monitor using

http://app1.itso.ibm.com:9082/cachemonitor

3. Clear the cache by clicking the Clear Cache button.

4. Click the Home link in the Trade3 application and use the Cache monitor to verify that both home servlet and market summary JSP are cached. If caching works properly, you can see that two cache entries are used (Figure 14-18).

Figure 14-18 Servlet/JSP result caching statistics

Home servlet and market summary JSP are in the cache as shown in Figure 14-19.



Figure 14-19 Servlet/JSP result caching statistics - Detailed view

All subsequent requests for these two entries will produce a cache hit as long as the objects are valid.

  Prev | Home | Next

 

WebSphere is a trademark of the IBM Corporation in the United States, other countries, or both.

 

IBM is a trademark of the IBM Corporation in the United States, other countries, or both.