Hi, If I use JSP, should I ever need the servlets??? Please let me know, Thanks angela
Joined: Mar 06, 2001
We definitely need both. When there's complex HTML code you don't want to embed in your Servlet code and you go for JSP. Similarly when there's lot of processing to be done, you don't want to embed too much scriptlet in your JSP and you go for Servlets. Otherwise I think we can stick to either Servlet or JSP and do all that we want.