Hi, Łukasz.
If our
jsp contains, jsp standard action
during translation time, jsp engine sees this standard action and verifies the syntax, like wether user has entered mandatory field(id) or not etc.? It does with the help of 'jspxml.xsd' file that is present in 'jsp-api.jar'. The corresponding jsp:useBean has declaration
In the above declaration there is declaration for 'id' attribute
The translator verifies against this syntax and if we don't specify 'scope', by default it is 'page'. All this will be done against this file. If it found correct, then the page will be translated.
All the above procedure takes time. There is no such procedure, if we use scripting. Container will spend minimum effort in this case.
Based on the above, I think scriptlets are faster than standard actions.