Hi, I am creating a web site. I have no idea about JSP's. All I am using is HTML,Servlets and JavaScript. Is that sufficient for developing webpages?. Or should I have to go for JSP's for developing better website. Thanks Deepa ------------------
Sri Bala
Ranch Hand
Joined: Mar 06, 2001
Posts: 63
posted
0
When you build your website using Servlets for dynamic content where the appearince keeps changing, you have to compile your servlet everytime you make a change. With JSPs, it is done automatically for you and it's easy to manage. Take this course and you'll know http://developer.java.sun.com/developer/onlineTraining/JSPIntro
Deepa Balasubramanayam
Ranch Hand
Joined: Mar 29, 2001
Posts: 39
posted
0
Thanks a lot Bala Deepa
Angela Jessi
Ranch Hand
Joined: Nov 27, 2000
Posts: 428
posted
0
Hi, If I use JSP, should I ever need the servlets??? Please let me know, Thanks angela
Sri Bala
Ranch Hand
Joined: Mar 06, 2001
Posts: 63
posted
0
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.