433 |
Custom tags are powerful |
451 |
<c:import> can reach OUTSIDE the web app |
470 |
Pay attnetion to <rtexprvalue> |
434 |
Objectives |
452 |
Customizing the thing you include |
471 |
<rtexprvalue> is NOT just for EL expressions |
435 |
EL and standard actions are limited |
453 |
Doing the same thing with <c:param> |
472 |
What can be in a tag body |
436 |
Looping without scripting |
454 |
[Bob and Kim thought bubbles] "How can you guarantee session tracking from a JSP... without using scripting?" |
473 |
The tag handler, the TLD and the JSP |
437 |
<c:forEach> |
455 |
<c:url> for all your hyperlink needs |
474 |
The taglib <uri> is just a name, not a location |
438 |
Deconstructing <c:forEach> |
456 |
What if the URL needs encoding? |
475 |
The Container builds a map |
439 |
You can even nest <c:forEach> tags |
457 |
You do NOT want your clients to see this: |
476 |
Four places the Container looks for TLDs |
440a |
There are no Dumb Questions (about <c:forEach>) |
458 |
Make your own error pages |
477 |
When a JSP users more than one tag library |
440b |
The "var" variable is scoped to ONLY the tag! |
459 |
She doesn't know about the <error-page> DD tag |
478 |
Sharpen your pencil: How the JSP, the TLD, and the bean attribute class relate |
441 |
Doing a conditional include with <c:if> |
460 |
Configuring error pages in the DD |
479 |
Sharpen your pencil: ANSWERS (from p. 449) |
442 |
But what if you need an else? |
461 |
Error pages get an extra object: exception |
480 |
Sharpen your pencil: ANSWERS (from p. 478) |
443 |
The <c:if> tag won't work for this |
462 |
The <c:catch> tag. Like try/catch... sort of. |
481 |
Coffee Cram Q1, Q2 |
444 |
The <c:choose> tag and its partners <c:when> and <c:otherwise> |
463 |
You can make the exception an attribute |
482 |
Coffee Cram Q3, Q4 |
445 |
The <c:set> tag... so much cooler than <jsp:setProperty> |
464 |
Flow control works in a <c:catch> the way it does in a try block... |
483 |
Coffee Cram Q5, Q6 |
446 |
Using <c:set> with beans and Maps |
465 |
What if you need a tag that's NOT in JSTL? |
484 |
Coffee Cram Q7 |
447 |
Key points and gotchas with <c:set> |
466 |
Using a tag library that's NOT from the JSTL |
485 |
Coffee Cram Answers Q1, Q2 |
448 |
<c:remove> just makes sense |
467 |
Making sense of the TLD |
486 |
Coffee Cram Answers Q3, Q4 |
449 |
Sharpen your pencil: Test your Tag memory |
468 |
Using the custom "advice" tag |
487 |
Coffee Cram Answers Q5, Q6 |
450 |
With <c:import>, there are now THREE ways to include content |
469 |
The custom tag handler |
488 |
Coffee Cram Answers Q7 |