Results 1 to 3 of 3
  1. #1
    #jackk# is offline Member
    Join Date
    Jun 2012
    Rep Power

    Default What can JSP be used for?

    I am new to Java, these forums and am currently learning the language.
    I might want to get into website programming, but want to know how much like PHP is JSP is, and can they be used for the same things? Can you make a community website, similar to Twitter or Facebook with JSP? Is it good with databases?
    And also, is JSP very similar to Java, could I just pick it up easily?
    This is my first post.
    Thanks in advance.

  2. #2
    Tolls is offline Moderator
    Join Date
    Apr 2009
    Rep Power

    Default Re: What can JSP be used for?

    You don't do those things with JSPs.
    JSPs are the display part of a Java web application.
    Most of the work of that is done via Servlets which call the relevant processing layers (eg database access) before forwarding to the JSP to display the correct content.
    Please do not ask for code as refusal often offends.

    ** This space for rent **

  3. #3
    Join Date
    Aug 2011
    Rep Power

    Default Re: What can JSP be used for?

    PHP and JSP are both server-side web programming technologies. According to this, JSP has often better performance than PHP. However, a JSP app cannot be deployed on any server, because the server must provide a servlet container like jetty or tomcat. JSP is more suitable for larger web projects.

Posting Permissions

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