whats the diff between jsp and servlets?

Answer Posted / durga ganesh reddy

JSP is used mainly for presentation only. A JSP can only be
HttpServlet that means the only supported protocol in JSP
is HTTP. But a servlet can support any protocol like HTTP,
FTP, SMTP etc

Is This Answer Correct ?    5 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What modifiers are allowed for methods in an interface?

652


What do you mean by order of precedence and associativity?

550


Can we write class inside a class in java?

555


What is boolean flag in java?

582


What is generic class?

652






How many bits are used to represent unicode, ascii, utf-16, and utf-8 characters?

588


How will you reverse a link list without using recursion?

601


Are private methods final?

488


What is a local, member and a class variable?

578


What is the diffrence between inner class and nested class?

567


what is the major difference between linkedlist and arraylist in java?

556


What is difference between jdk,jre and jvm?

575


What is the purpose of static methods and static variables?

545


Can you explain inner class.

597


Which number is denoted by leading zero in java?

815