From: Matthew B. <mat...@ou...> - 2006-03-23 13:35:27
|
Jon Maber wrote: > > Peter Crowther wrote: > >>> From: Jon Maber >>> It is a servlet in the sense that it is invoked, gets information >>> from a request object and outputs HTML via a response object. The >>> only unusual feature is that it never outputs a whole page of HTML >>> and is only used to insert output in the output of another servlet. >>> >> >> >> I'd call it a portlet. Are we starting to reinvent JSR168 here? >> >> - Peter >> >> > No reinvention at all! That's my point. > Servlets have been able to call other servlets from way back and I think > it's best to use something that is established functionality of the spec. RequestDispatcher.include() unless used carefully can lead to very fragile and difficult to follow routes through the code. -- -- Matthew Buckett, VLE Developer -- Learning Technologies Group, Oxford University Computing Services -- Tel: +44 (0)1865 283660 http://www.oucs.ox.ac.uk/ltg/ |