Re: tiles:insert JSP from database

2005-03-10 Thread Richard Cox
Ok, Now I believe. I traced to code back to the Java Core and it will only take a file :( But I am going to try using a controller to dump the file from the database into a directory before it is "inserted" as a way around this. The reason for all of this is that we provide a web application for

Re: tiles:insert JSP from database

2005-03-10 Thread Richard Cox
Thanks, I'll look at Velocity. I also know that I can achieve what I want using Freemarker, but really this doesn't seem like much of a stretch for Tiles. The tag already puts together seveal pieces of JSP code before the servlet is generated by reading from a file. All I really want to do is han

Re: tiles:insert JSP from database

2005-03-10 Thread Joe Germuska
Remember that ultimately, a JSP is a servlet, albeit one which is automatically created and compiled by transforming JSP syntax into Java. You would need to intervene in this sophisticated and low-level process in order to store JSP code in a database and still have it work. It's probably pos

tiles:insert JSP from database

2005-03-10 Thread Richard Cox
Hi All, I am just coming up to speed on tiles and I have searched the archive and not found the answer to this one. I want to import JSP "files" into my layout which are stored in a database. The key issue is that there are JSP tags in the "file" stored in the database that need to be evaluated a