This week's book giveaway is in the Agile and other Processes forum. We're giving away four copies of The Mikado Method and have Ola Ellnestam and Daniel Brolund on-line! See this thread for details.
colin wang wrote:JSP will be translated into servlet.
That is an implementation detail that has no bearing on when JSPs should be used and when servlets should be used.
Tianrong Dai wrote:your means that servlet can do everything what jsp can do?
Not really. JSPs can use mechanisms such as the JSTL, EL, custom tags, tag files, and other mechanisms geared towards creating views. Mimicking these in a servlet would not only be difficult, but foolish.
colin wang wrote:JSP will be translated into servlet.
That is an implementation detail that has no bearing on when JSPs should be used and when servlets should be used.
Tianrong Dai wrote:your means that servlet can do everything what jsp can do?
Not really. JSPs can use mechanisms such as the JSTL, EL, custom tags, tag files, and other mechanisms geared towards creating views. Mimicking these in a servlet would not only be difficult, but foolish.