View RSS Feed

JSP

Java Server Pages (JSP) tutorials and examples.

  1. Jsp architecture

    by
    JSP
    , 07-07-2012 at 06:04 PM
    JSP pages are considered to be the higher leveled servlet extension which make developers able to do embedding of the java code into HTML. Finally, JSP files get compiled in servlet by the help of servlet engine. Compiled servlet serve the requests when is used by the engine.

    javax.servlet.jsp package has 2 interfaces:

    • HttpJspPage
    • JSPPage

    These interfaces has 3 methods for JSP page. They are:

    • jspInit()
    • _jspService(HttpServletRequest ...
    Categories
    Tutorial
  2. What is JSP?

    by
    JSP
    , 01-01-2012 at 06:45 PM
    Java Servlet technology’s extension is Java ServerPages. JSP is used as presentation layer to combine the Java code and HTML. Java Servlet technology generates HTML along with out.println(“<html>….. </html>”) statements (out is PrintWriter). Embedding HTML code to the escape characters is a process which is hardly maintained and is cumbersome. A level of abstraction is provided by the JSP technology in order to enable a developer to use the action elements and custom tags. This makes ...