Skip to content

Commit

Permalink
Remove jsp:plugin
Browse files Browse the repository at this point in the history
  • Loading branch information
markt-asf committed Oct 19, 2022
1 parent 2c9580e commit b8b3a52
Showing 1 changed file with 2 additions and 92 deletions.
94 changes: 2 additions & 92 deletions spec/src/main/asciidoc/ServerPages.adoc
Original file line number Diff line number Diff line change
Expand Up @@ -1332,7 +1332,6 @@ StandardAction ::= ( 'useBean' StdActionContent )
| ( 'getProperty' StdActionContent )
| ( 'include' StdActionContent )
| ( 'forward' StdActionContent )
| ( 'plugin' StdActionContent )
| ( 'invoke' StdActionContent )
| ( 'doBody' StdActionContent )
| ( 'element' StdActionContent )
Expand All @@ -1346,7 +1345,6 @@ StdActionContent ::= Attributes StdActionBody
StdActionBody ::= EmptyBody
| OptionalBody
| ParamBody
| PluginBody
[ vc: StdActionBodyMatch ]
EmptyBody ::= '/>'
Expand Down Expand Up @@ -1384,16 +1382,6 @@ ParamBody ::= EmptyBody
)
| ( S? '>' Param* ETag )
PluginBody ::= EmptyBody
| ( '>' S? ( '<jsp:attribute' NamedAttributes )?
'<jsp:body'
( JspBodyPluginTags
| <TRANSLATION_ERROR>
)
S? ETag
)
| ( '>' S? PluginTags ETag )
NamedAttributes ::= AttributeBody S? ( '<jsp:attribute' AttributeBody S? )*
AttributeBody ::= ATTR[ !name, trim, omit ] S?
Expand All @@ -1420,36 +1408,6 @@ JspBodyEmptyBody ::= '/>'
JspBodyParam ::= S? '>' S? Param* '</jsp:body>'
JspBodyPluginTags ::= S? '>' S? PluginTags '</jsp:body>'
PluginTags ::= ( '<jsp:params' Params S? )?
( '<jsp:fallback' Fallback S? )?
Params ::= '>' S?
( ( '<jsp:body>'
( ( S? Param+ S? '</jsp:body>' )
| <TRANSLATION_ERROR>
)
)
| Param+
)
'</jsp:params>'
Fallback ::= '/>'
| ( '>' S? '<jsp:body>'
( ( S?
( Char* - ( Char* '</jsp:body>' ) )
'</jsp:body>' S?
)
| <TRANSLATION_ERROR>
)
'</jsp:fallback>'
)
| ( '>'
( Char* - ( Char* '</jsp:fallback>' ) )
'</jsp:fallback>'
)
Param ::= '<jsp:param' StdActionContent
Attributes ::= ( S Attribute )* S?
Expand Down Expand Up @@ -1816,13 +1774,6 @@ indicates which attributes can be provided.
|`ParamBody`
|`( =!page )`

|`jsp:plugin`
|`PluginBody`
|`( !type, !code, !codebase, align, archive,` +
`{nbsp} =height, hspace, jreversion, name, vspace,` +
`{nbsp} title, =width, nspluginurl, iepluginurl,` +
`{nbsp} mayscript )`

|`jsp:invoke`
|`EmptyBody`
|`( !fragment, !var, scope )` +
Expand Down Expand Up @@ -3312,8 +3263,6 @@ expressions:
(<<jsp:forward>>).
* The `value` attribute of `jsp:param`
(<<jsp:param>>).
* The `height` and `width` attributes of
`jsp:plugin` (<<jsp:plugin>>).
* The `name` attribute of `jsp:element`
(<<jsp:element>>).

Expand Down Expand Up @@ -5545,47 +5494,6 @@ This action has two mandatory attributes:
`name` and `value`. `name` indicates the name of the parameter, and
`value`, which may be a request-time expression, indicates its value.

[[jsp:plugin]]
=== <jsp:plugin>

The HTML elements that the `jsp:plugin` action is translated to are no
longer supported by any major browser. Therefore, as of version 3.1 of
this specification, the `jsp:plugin` action has been deprecated and
will be removed in a future version.

As of version 3.1 of this specification, the JSP container must ignore
the `jsp:plugin` action rather than generate HTML that contains either
the `OBJECT` or `EMBED` constructs.

The JSP container must still validate that the content of any
`jsp:plugin` action is consistent with the <<JSP Syntax Grammar>>.

=== <jsp:params>

The `jsp:params` action is part of the
`jsp:plugin` action and can only occur as a direct child of a
`<jsp:plugin>` action. Using the `jsp:params` element in any other
context shall result in a translation-time error.

As of version 3.1 of this specification, the `jsp:params` action is
deprecated and will be removed in a future version.

The JSP container must still validate that the content of any
`jsp:params` action is consistent with the <<JSP Syntax Grammar>>.

=== <jsp:fallback>

The `jsp:fallback` action is part of the
`jsp:plugin` action and can only occur as a direct child of a
`<jsp:plugin>` element. Using the `jsp:fallback` element in any other
context shall result in a translation-time error.

As of version 3.1 of this specification, the `jsp:fallback` action is
deprecated and will be removed in a future version.

The JSP container must still validate that the content of any
`jsp:fallback` action is consistent with the <<JSP Syntax Grammar>>.

[[jsp:attribute]]
=== <jsp:attribute>

Expand Down Expand Up @@ -11533,6 +11441,8 @@ Jakarta Server Pages specification. This appendix is non-normative.

* Remove the deprecated `isThreadSafe` page directive attribute.

* Remove the deprecated `jsp:plugin` action and related actions.

=== Changes between JSP 3.1 and JSP 3.0

* Deprecate methods that override `ELResolver.getFeatureDescriptors()` as that
Expand Down

0 comments on commit b8b3a52

Please sign in to comment.