Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
HomeAnnouncementsWhite Papers
Discussion GroupsFirst AidDatabasesJavaBeansGUIJava 3DVirtual MachineCORBASecurityToolsGeneral
Java DirectoryOpen Source ProjectsSample Book ChaptersUser GroupsWeb Resources
Related Topics
Databases.NETMore Topics ...

Java Forum / General / August 2007

Tip: Looking for answers? Try searching our database.

.jsp vs .jspx question

Thread view: 
SrferDave - 27 Aug 2007 18:07 GMT
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.
Manish Pandit - 27 Aug 2007 18:35 GMT
> 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
Daniel Pitts - 27 Aug 2007 23:55 GMT
> 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:out 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.


Free Magazines

Get these publications absolutely FREE for up to 12 months. There are no hidden fees and no obligation. Simply choose a title, complete the application form and submit it. Read more ...

Oracle MagazineNetwork ComputingComputer WorldBio-IT WorldeWeekInformation WeekInfosecurity
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2009 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.