JSP Page and JSP Document

  • The difference between JSP Page and XML-BASED JSP Document is of syntax.
  • In JSP page we can put normal text but in JSP Document have <jsp:text> tag.
  • The XML syntax gives the JSP page author less complexity and more flexibility.
  • Jsp pages are saved having file extension of .jsp , while JSP documents having .jspx extension.