Open main menu
Home
Random
Recent changes
Special pages
Community portal
Preferences
About Wikipedia
Disclaimers
Incubator escapee wiki
Search
User menu
Talk
Dark mode
Contributions
Create account
Log in
Editing
Jakarta Server Pages
(section)
Warning:
You are not logged in. Your IP address will be publicly visible if you make any edits. If you
log in
or
create an account
, your edits will be attributed to your username, along with other benefits.
Anti-spam check. Do
not
fill this in!
=== XML-compliant JSP === JSP pages may also be written in fully valid XML syntax.<ref>{{cite web|url=https://docs.oracle.com/cd/E19316-01/819-3669/6n5sg7b3b/index.html|title=The Java EE 5 Tutorial, Chapter 6 JavaServer Pages Documents|publisher=oracle.com|access-date=2022-07-27}}</ref> Such JSP files commonly use the alternative <code>.jspx</code> file extension, which usually causes the application server to validate the XML syntax. Since the usual JSP syntax <code><% ... %></code> is not valid in XML, a developer must use alternative tags provided by JSP. For example, the common <code><%@ page .. %></code> directive may instead be written as a <code><jsp:directive.page .. /></code> tag, and tag libraries are imported using [[XML namespace]]s, instead of the usual <code><%@ taglib .. %></code> tag.
Edit summary
(Briefly describe your changes)
By publishing changes, you agree to the
Terms of Use
, and you irrevocably agree to release your contribution under the
CC BY-SA 4.0 License
and the
GFDL
. You agree that a hyperlink or URL is sufficient attribution under the Creative Commons license.
Cancel
Editing help
(opens in new window)