
Originally Posted by
gkatz
why are you so surprised?
i would rather not have spring (which i use in my business layer) know anything about the servlet container. even in my web layer (JSF based) i never use the servlet API (JSF abstracts the container - either servlet or portlet).
anyway, i can allways encapsulate the access to the temp dir behind another class but i just wanted to know if spring has this ability built-in and i stumbled upon the ServletContextAttributeFactoryBean which looked interesting.......