Yes, both a and d are correct.
You can verify this by installing
TomCat and running a test using the sample code (supplied on the CD that comes with the book) as the source for AddressBean.
Since a jsp generates a
servlet, you can find the actual servlet code in a *.java file in the work directory of TomCat. If you examine that file, you will see how the getProperty action is translated into Java code.
When I looked at the first scriptlet on page 267 of the book, I thought that the code would translate into java as:
out.print(address.getStreet());
In this case, you would get a compile error because "address" is out of scope.
However this is not the case... the translator uses the findAttribute method (page 222) instead and the code compiles and runs successfully.
Hope this helps!

[ June 19, 2003: Message edited by: Louise Haydu ]