I was able to run your code without modification, so the code at least does what it says it does.
That leads me to believe that:
1) The pojo is not .../webfiles/yourapp/WEB-INF/classes/test/first.class
(replace 'yourapp' with the name of your application), or
2) Somehow your app server (
tomcat, resin, etc) is not set up properly
[ August 14, 2006: Message edited by: Rusty Smythe ]