Hi everyone Sorry to still bother with this InputModuel thing, I managed finally to declare my component in Flow but the realpath module getAttributeNames("") returns an attribute called requestURI and when I getAttribute("requestURI", null,null), I get a null pointer exception ??
Here's my code: var gcomp = cocoon.getComponent("org.apache.cocoon.components.modules.input.InputModuleSelector"); var path2webapp = gcomp.select("realpath").getAttributeNames("requestURI",null,null); print("print 2 webapp :"+path2webapp); cocoon.releaseComponent(gcomp); Thanks for any ideas Tibor