Results 1 to 6 of 6
  1. #1
    rakesh_mca is offline Member
    Join Date
    Oct 2009
    Posts
    4
    Rep Power
    0

    Default advantages of Jsp

    what are the advantages of jsp when compare with Servlets?

  2. #2
    r035198x is offline Senior Member
    Join Date
    Aug 2009
    Posts
    2,388
    Rep Power
    9

    Default

    What do the textbooks say?

  3. #3
    Join Date
    Apr 2014
    Location
    http://www.roytuts.com
    Posts
    51
    Rep Power
    0

    Default Re: advantages of Jsp

    use HTML and JSP pages and see the differences

  4. #4
    gimbal2 is offline Just a guy
    Join Date
    Jun 2013
    Location
    Netherlands
    Posts
    5,104
    Rep Power
    8

    Default Re: advantages of Jsp

    Quote Originally Posted by rakesh_mca View Post
    what are the advantages of jsp when compare with Servlets?
    - You don't need to compile them
    - You don't need to use endless println statements to output HTML content
    - You can edit them in a regular HTML editor with syntax highlighting
    - Designers not familiar with Java can read them too

    (basically the advantages of any templating system)

    Disadvantages:

    - people don't take the responsibility to understand them and do such horrible things as completely replacing servlets with JSPs, adding huge quantities of Java code to them
    - if you make a mistake it is generally not so easy to debug that; you generally need to first find a generated .java source file and look in there to find the correct line of code that is causing a problem
    "Syntactic sugar causes cancer of the semicolon." -- Alan Perlis

  5. #5
    allen is offline Member
    Join Date
    Jan 2016
    Posts
    4
    Rep Power
    0

    Default Re: advantages of Jsp

    Hey,JavaServer Pages (JSP) is a technology that helps software developers create dynamically generated web pages based on HTML, XML, or other document types.
    Here are few Advantages:
    -Learning JSP doesn’t need strong knowledge of Java.
    -JSP programming is easy to learn and easy to implement for Non-Java programmers.
    -JSP programming has implicit objects.
    -JSP environment provides implicit/global exception handling mechanism.

  6. #6
    Tolls is offline Moderator
    Join Date
    Apr 2009
    Posts
    12,712
    Rep Power
    22

    Default Re: advantages of Jsp

    Will you please stop posting things to ancient threads.
    This is a warning.
    Please do not ask for code as refusal often offends.

    ** This space for rent **

Similar Threads

  1. How to use Idref Element and its advantages
    By Java Tip in forum Java Tip
    Replies: 0
    Last Post: 03-30-2008, 10:04 AM
  2. What are dependency injection and its advantages
    By Java Tip in forum Java Tip
    Replies: 0
    Last Post: 03-29-2008, 01:36 PM
  3. Advantages
    By samson in forum JavaServer Pages (JSP) and JSTL
    Replies: 1
    Last Post: 04-02-2007, 03:30 PM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •