www.webdeveloper.com
Results 1 to 5 of 5

Thread: Learning JSP

  1. #1
    Join Date
    Oct 2005
    Posts
    593

    Learning JSP

    Hi folks
    At the momment im in year 11 at school, taking gcse's. I will be taking computing for a-levels which will be next year. a-levels take two years and in the second year i must create an application. i am thinking of a JSP website. I need to know where to start and what to read because looking on the internet this seems very daunting! Please dont tell me to learn something else, i have got advice from my teacher at school and for me he recomends this!

    So anyone know of anywhere to start?

    Thanks! Scott

  2. #2
    Join Date
    Oct 2005
    Posts
    843
    try here:
    http://www.jsptut.com/
    http://www.visualbuilder.com/jsp/tutorial/

    just some sites i found off googles. also there are alot of books about this stuff around. so try like a big book store where you are at.
    Welsh

  3. #3
    Join Date
    Nov 2003
    Location
    Jerryville, Tejas
    Posts
    11,715
    If you want to do JSP right (i.e. as part of a model-view-conroller design pattern) then I'd recommend you check out Sun's J2EE patterns site or do a little reading about Struts.
    "Debugging is twice as hard as writing the code in the first place. Therefore, if you write the code as cleverly as possible, you are, by definition, not smart enough to debug it." Brian W. Kernighan

  4. #4
    Join Date
    May 2004
    Location
    Manhattan NY
    Posts
    6,028
    Based on what that site says, it makes me wonder if servlets aren't faster. I mean if the JSP is 1st converted to a servlet by the Java servlet engine as they say there. I realize they're more of a pain to work with because the HTML must be shoved into system.out.println statements but it's not THAT big a deal if it's faster.

  5. #5
    Join Date
    Nov 2003
    Location
    Jerryville, Tejas
    Posts
    11,715
    JSPs are actually specialized servlets. They are compiled once and the resulting class file is a servlet. They will only be recompiled when the container notices the JSP source file is newer than the class file. You definitely can see the delay when the JSP is compiled on demand but it is also possible in modern app servers to pre-compile all the JSPs. Then you just get the same class loading delay that servlets have when first invoked. ASP.NET works essentially the same way I'm told.
    "Debugging is twice as hard as writing the code in the first place. Therefore, if you write the code as cleverly as possible, you are, by definition, not smart enough to debug it." Brian W. Kernighan

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Posting Permissions

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



Recent Articles