
Originally Posted by
jmakeig
I've built a view resolver that figures out which stylesheet to get from the app's internal configuration data store based on the request. I've started to implement my own XSLT View that caches multiple stylesheets
If you're re-creating a templates cache in a shared bean, be careful not to break thread-safety. The act of one person adding a new template could cause other concurrent users to get corrupted responses.
I'm pretty sure that you have understood AbstractXsltView correctly - it wasn't designed for this type of use case (which I suspect is pretty rare). My assumption here is that it's some kind of admin interface where new stylesheets are added and not something done by normal users of the app? I've done something very similar myself before but not in a Spring application.
Darren Davison.
Public Key: 0xE855B3EA