Michael, Pages and their lifecycle methods in no way correspond to how a servlet is structured. If you haven't gone all the way through the first tutorial, start there and digest every bit of it. After that you will have a general idea of T5's perspective on a how a web app works, and you should be ready to dig in a bit deeper into how pages are handled:
http://tapestry.apache.org/tapestry5/guide/pagenav.html http://tapestry.apache.org/tapestry5/guide/lifecycle.html I strongly urge you to take a few hours, forget the word "servlet," I and take in the T5 perspective. sincerely, chris Michael Wong wrote: > I'm trying to learn Tapestry 5, here is my question: > > what onActivate does? say: > > public void onActivate() { > > } > > Does this onActivate corresponding to the servlet's request and response? > when the url for the page class is called, onActivate is called for the > 'request' part, then since it return 'void', the 'response' is also > called(that's the rendering of the class + template process?) > > > -- http://thegodcode.net --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]