Bart Molenkamp wrote:
If the object in the context is a bean, the path ./inputStream will make JXPath invoke getInputStream(), right? And the same for mimeType of course. So this leaves the user to make the decision if he passes an object which has a getInputStream() method, or if he passes the stream directly.
supporting both is a good idea IMO
Guess so, yes. But it must be possible to configure the mime type manually via the sitemap as well as having it provided by the flowscript.
think so too
--
Reinhard Pötz Independant Consultant, Trainer & (IT)-Coach
{Software Engineering, Open Source, Web Applications, Apache Cocoon}
web(log): http://www.poetz.cc --------------------------------------------------------------------