Remember the DD tags with SRRN:
<web-app>
<security-role>
<role-name>member</role-name>
</security-role>
…
Remember the DD tags with SRRN:
<web-app>
<security-role>
<role-name>member</role-name>
</security-role>
…
Not much to say here.
Of the 4 autehntication types, “BASIC” uses Base64, in the same way that on a Commodore 64 you’d write BASIC.
Showing my age there.
There are 8 Listeners to remember. We know there are attributes in 4 scopes because we know how to Pick the Right Scope Automatically, but you can’t listen to Page attributes, it doesn’t make sense, so that leaves us with RSA; Request, Session and Application. These tally with the objects:
There are just 6 events, one for each lifecycle event:
All the EL implicit variables are Maps except for pageContext.
To remember the attribute-holding scope objects, just remember to Pick the Right Scope Automatically and stick the word “Scope” on the end:
Then you have 4 param and header objects of the form : (param|header)[Values]
This is (a rubbish one) just to help me remember the DD tags:
<context-param>
<param-name>n</param-name>
<param-value>v</param-value>
</context-param>
Whereas Servlet params are “in-it”:
<servlet>
<init-param>
<param-name>n</param-name>
<param-value>v</param-value>
</init-param>
…
</servlet
I’ve made a timelapse film of some daffodils blossoming but I really should do another one of a rose with its stem split into two different bottles of ink.
Not a very interesting post, it’s just another think I need top remember from this book for my exam. 
![]()
Direct a film about PeTaL INk
Boils down to:
Jsp Directives are Page, Taglib and Include
Use the acronym SCRAPROPE to remember the JSP implicit variables:
session
config
request
application
pageContext
response
out
page
exception
I should really credit Russ for coming up with the acronym. I think my attempts, SCORP RAPE and SPORE CRAP, weren’t as catchy.
As I previously metioned, I’m taking the SCWCD exam tomorrow. When trying to cram for any exam I like to make up short poems, acronyms or just random chains of though. For example, I know the difference between Mitosis and Meiosis because Meiosis begins with “Meow” which is what cats do and they have four legs… anyway…
My first thing to remember is that a JspContext has a findAttribute method that I can use to Pick the Right Scope Automatically.
The acroynym, PRSA, is the order scopes are searched for attributes: Page, Request, Session, Application. You know that the S stands for Session because you can’t put attributes in a servlet. This also allows you to remember which objects can have attributes.