• Post Reply Bookmark Topic Watch Topic
  • New Topic

Tag files extensions  RSS feed

 
Radoslaw Sztando
Ranch Hand
Posts: 40
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi,

I read in Head First Servlets and JSP that tag files allowed extensions are .tag and .tagx
However when I changed name of my very simple tag file from SimpleTagFile.tag to SimpleTagFile.tagx, it stopped working.
Opening JSP which uses this tag file results in

java.lang.RuntimeException: org.apache.jasper.JasperException: Error reading file "/WEB-INF/tags/SimpleTagFile.tagx"
org.apache.jasper.compiler.ImplicitTagLibraryInfo.getTagFile(ImplicitTagLibraryInfo.java:199)


Do I need some additional configuration?
 
Ankit Garg
Sheriff
Posts: 9610
37
Android Google Web Toolkit Hibernate IntelliJ IDE Java Spring
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
tagx extension is for tag files with XML syntax, so if your tag file is not well formed XML document, you'll get an error...
 
Radoslaw Sztando
Ranch Hand
Posts: 40
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Are tag files with XML syntax covered by SCWCD at all?
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!