2
2BaCook
I was wondering when writing a basic web program (typical 4-tier
architecture) having a presentation layer that all extends
HttpServlet... why not have a class BaseUI that extends HttpServlets
and then have all my other UI classes extend from BaseUI? I have seen
examples in texts just showing each UI class to extend just from
Servlets, so I figure this is wrong but I do not know why.
Thanks!
architecture) having a presentation layer that all extends
HttpServlet... why not have a class BaseUI that extends HttpServlets
and then have all my other UI classes extend from BaseUI? I have seen
examples in texts just showing each UI class to extend just from
Servlets, so I figure this is wrong but I do not know why.
Thanks!