This week's book giveaway is in the Programmer Certification forum.
We're giving away four copies of OCP Oracle Certified Professional Java SE 21 Developer Study Guide: Exam 1Z0-830 and have Jeanne Boyarsky & Scott Selikoff on-line!
See this thread for details.
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Tim Cooke
  • Liutauras Vilda
  • Jeanne Boyarsky
  • paul wheaton
Sheriffs:
  • Ron McLeod
  • Devaka Cooray
  • Henry Wong
Saloon Keepers:
  • Tim Holloway
  • Stephan van Hulst
  • Carey Brown
  • Tim Moores
  • Mikalai Zaikin
Bartenders:
  • Frits Walraven

wanted: a concise, dense JSP tutorial or cheat-sheet

 
Ranch Hand
Posts: 161
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hi. I am a fairly experienced Java developer but need to review skills I have not used in a while.

Where can I find a concise refresher-tutorial on JSPs? Things I want to refresh myself on include,
the basics of JSTL expression language
the basic tags <%, etc.
(which is better--JSTL or embedded java)
page-scope
use of tag-library directives
current techniques how to develop, test, compile and deploy JSPs in eclipse or Spring STS.


For that matter, I am looking for exactly the same kind of tutorial covering Java 1.5 and above, and for servlets.


I am interested in hard-copy but since time is limited anything on the web would be great.

Thanks for reading and in advance for any and all suggestions!

 
Sheriff
Posts: 67752
173
Mac Mac OS X IntelliJ IDE jQuery TypeScript Java iOS
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
I'm not sure of any "dense" tutorials that I can recommend. If you're after a book, the Head First book is widely acclaimed.

Here's some getting started tips:

Benjamin Weaver wrote:the basics of JSTL expression language


the JSTL Spec is acutally an easy read and a good reference.

the basic tags <%, etc.


While it is important to understand scriptlets in case you need to deal with legacy code, scriptlets have been obsolete and discredited since the introduction of JSP 2 in 2002.

(which is better--JSTL or embedded java)


See above. Scriptlets ("embedded Java") are not acceptable in modern code. See this JspFaq entry.

page-scope


Page scope exists for the duration of a single JSP.

use of tag-library directives


Do you mean to define a tag library for use? That's fairly straightforward. See the JSTL Spec for info in including the JSTL. Including any other library will be similar.

I also recommend that newcomers to JSP/Servlets read the following articles:
  • The Secret Life of JSPs
  • The Front Man
  •  
    I have a knack for fixing things like this ... um ... sorry ... here is a consilitory tiny ad:
    Gift giving made easy with the permaculture playing cards
    https://coderanch.com/t/777758/Gift-giving-easy-permaculture-playing
    reply
      Bookmark Topic Watch Topic
    • New Topic