File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
The moose likes Struts and the fly likes JSPF files, Tiles and Struts??? Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of EJB 3 in Action this week in the EJB and other Java EE Technologies forum!
JavaRanch » Java Forums » Frameworks » Struts
Bookmark "JSPF files, Tiles and Struts???" Watch "JSPF files, Tiles and Struts???" New topic
Author

JSPF files, Tiles and Struts???

Mah Hasan
Greenhorn

Joined: Apr 19, 2007
Posts: 11
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

Joined: Feb 15, 2005
Posts: 4864
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.


Merrill
Consultant, Sima Solutions
Mah Hasan
Greenhorn

Joined: Apr 19, 2007
Posts: 11
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

Joined: Feb 15, 2005
Posts: 4864
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.
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: JSPF files, Tiles and Struts???
 
Similar Threads
Question regarding jsp:include
eclipse ???
.jspf question
JSP and JSPF
Scriptlets and expressions not executing in JSP page