.jsp vs .jspx question

S

SrferDave

What significant differences are there between jsp and jspx? The only
one that i know of is that jsp is html based and jspx is xml based.
 
M

Manish Pandit

What significant differences are there between jsp and jspx? The only
one that i know of is that jsp is html based and jspx is xml based.

jspx extension indicates that the page is a well formed XML. This is
meaningful for the 2.4 Servlet Spec. A jspx page is also refered to as
a JSP Document, vs. a jsp which is a page. Another extension in the
mix is jspf, which is basically a JSP fragment that you can include in
the pages/documents.

Google around for more information on how to use these extensions, and
how they fit in the web.xml.


-cheers,
Manish
 
D

Daniel Pitts

What significant differences are there between jsp and jspx? The only
one that i know of is that jsp is html based and jspx is xml based.

I believe the difference is that you have to use well-formed XML in
the jspx, where in jsp, you can do things like <a href="<c:eek:ut value="$
{url}" escapeXml="true"/>" title="stuff">link</a>

I could be wrong though, I only read about jspx, and that was quite a
while ago.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Similar Threads

hibernate query question ? 3
JSP XML content-disposition 1
jsf datatable ? 0
jsf large form question ? 2
Parsing jspf files like jspx 0
list + equals question ? 7
JSP 0
JSP - My new upcoming JavaScript library 0

Members online

No members online now.

Forum statistics

Threads
473,744
Messages
2,569,483
Members
44,903
Latest member
orderPeak8CBDGummies

Latest Threads

Top