Servlet VS JSP

Hi, thereI'm newbie, can any one tell me what is advantage and disadvantage of servlet compare to JSP?Thanks for advance
[149 byte] By [BomberMana] at [2007-11-27 9:13:33]
# 1

Hello,

Servlets are good for doing the "controller" part and JSP are good at handling the "view"

part in classic model-view-controller architecture.

When you design your web application, you start with a controller servlet. This does

not produce any dynamic content, but communicates with the model in order to

generate some data. Once the data is made available in the request or context, you

pass the request onto the JSP that forms the "view".

Servlets are good at not producing dynamic contents, JSP's are.

Hope that helps.

Regards,

Kedar

kedar.mhaswadea at 2007-7-12 22:01:01 > top of Java-index,Enterprise & Remote Computing,Enterprise Technologies...
# 2
Thanks Kedar,Is JSP tag inside HTML secure?
BomberMana at 2007-7-12 22:01:01 > top of Java-index,Enterprise & Remote Computing,Enterprise Technologies...