Win a copy of Re-engineering Legacy Software this week in the Refactoring forum
or Docker in Action in the Agile forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

JSPF files, Tiles and Struts???

 
Mah Hasan
Greenhorn
Posts: 11
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hello All,

I need to know if a tile can be a jspf file? I have seen example on the web when in tiles definitions file, <tiles ut> tag has jspf file as a value, but how does it work?

Inclusion of Tiles in layouts is a dynamic inclusion. If jspf files are never compiled as seperate file. How do we use dynamic inclusion and jspf files together?

If I use JSP files, my application works but when I change them to JSP fragment files, everything falls apart.

Can somebody please provide a working code example? I am reallllly confused and need help!

Thanks,
Mah.
 
Merrill Higginson
Ranch Hand
Posts: 4864
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I'm not sure where you got your examples from, but my understanding is that tiles was meant to work with jsp files, not jspf files.
 
Mah Hasan
Greenhorn
Posts: 11
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Does it mean that in tiles-def.xml file, we should not reference any jspf files?

Am I on the right track?
 
Merrill Higginson
Ranch Hand
Posts: 4864
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Originally posted by Mah Hasan:
Does it mean that in tiles-def.xml file, we should not reference any jspf files?

Yes, that's what it means.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic