What is the purpose of jsp and why it is widely used?
Answer / Prashant Sharma
The purpose of JSP (JavaServer Pages) is to allow developers to create dynamic web content using Java code embedded within HTML pages. JSP is widely used due to its platform independence, rich library, reusable code, security, scalability, and ability to handle complex applications.
| Is This Answer Correct ? | 0 Yes | 0 No |
Why session is used?
Java Server Page I can use a function in two ways: Either I declare <jsp:useBean id="myBean" scope="session" class="mypack.mysubpack.MyClass" /> or I declare <%@ page import = "mypack.mysubpack.MyClass" %> In each case I can call a function later by coding MyClass.myFunction(); So what is the difference between the two variantes? Why are Beans invented if we don't need them because we have the import statement ? please guide me its an humble request to you reader if u know n i'll be thankful to you...........
What is jsp include tag?
What is jsp life cycle?
What are the standard actions available in jsp?
Define scriptlet, expression and declaration in jsp?
Why do we need servlets and jsp?
how can we retrieve the values in jsp by using custom tags
What are the lifecycle phases of a jsp?
Which is better jsp or javascript?
Is jsp used?
Which jsp method cannot be overridden?