b) Explain with the help of an example/diagram or write code for the following using JSP:
a) The purpose of using implicit objects in JSP with the help of an example.
<!DOCTYPE html >
<html>
<head>
<title>Natural Number Addition</title>
</head>
<body>
<% out.println("The natural numbers scriptlet"); %>
<% int j;%>
<% for (j = 1; j <= 10; j++)
  {
    printf("%d ",j);  Â
  }%>
</body>
</html>
Comments
Leave a comment