• Post Reply Bookmark Topic Watch Topic
  • New Topic

JSPX and XHTML

 
John Lincoln
Ranch Hand
Posts: 192
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi,

I have a question regarding JSPX. Is JSPX generally saved as "*.xhmtl" file ?

I have seen a sample project that uses JSF and Facelets. The WEB-INF folder has 2 files index.html and index.xhtml

index.html file as the following content


Can someone please explain. I am lost

thanks
 
Bear Bibeault
Author and ninkuma
Marshal
Posts: 65530
108
IntelliJ IDE Java jQuery Mac Mac OS X
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
JSPX and XHTML have little to do with each other. It might make the JSP document easier to parse and require less CDATA markup, but beyond that there's really no corellation.

You're not trying to write JSPX by hand, are you?
[ November 08, 2006: Message edited by: Bear Bibeault ]
 
Bear Bibeault
Author and ninkuma
Marshal
Posts: 65530
108
IntelliJ IDE Java jQuery Mac Mac OS X
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Originally posted by John Lincoln:

index.html file as the following content


All that file is doing is a Javascript redirect to the index.jspx file.

This is an indication that whoever set this up is not very versed in web technologies. There are far better ways to achieve this.
[ November 08, 2006: Message edited by: Bear Bibeault ]
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!