Win a copy of The Little Book of Impediments (e-book only) this week in the Agile and Other Processes forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

extension .jspx and .tagx

 
Pawanpreet Singh
Ranch Hand
Posts: 264
Eclipse IDE Java Spring
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I have seen .jspx and .tagx some where during including jsp file.

Could anybody clear me what are these actually.
 
Jan van Mansum
Ranch Hand
Posts: 74
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Those are the extensions for JSP files and tag files in xml syntax. As you may know there are two alternative syntaxes for JSP: the traditional one (using <% %> for scriptlets, for instances) and the XML variant (using <jsp:scriptlet>
</jsp:scriplet> . ). There are several ways to configure your web container to treat files as documents (XML) instead of traditional syntax files. One of those (for JSP 2.0 and higher) is to give the extension .jspx and .tagx for JSP files and tag files respectively. See also this thread.
[ December 04, 2007: Message edited by: Jan van Mansum ]
 
Christophe Verré
Sheriff
Posts: 14691
16
Eclipse IDE Ubuntu VI Editor
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
You'll find all details in the JSP Specification under the following chapters:
  • Part I - JSP Documents
  • Part I - JSP.8.6 Tag Files in XML Syntax

  •  
    • Post Reply
    • Bookmark Topic Watch Topic
    • New Topic