Hi,
I am new to Orbeon and I am facing issues integrating Orbeon with existing Java Web App using seperate Deployment. I followed the steps mentioned in Wiki for seperate deployement. Here is the configuration on my local. web.xml(java web app) snippet: <filter> <filter-name>OrbeonFormFilter</filter-name> <display-name>OrbeonFormFilter</display-name> <description/> <filter-class>com.web.filters.OrbeonFormFilter</filter-class> </filter> <filter> <filter-name>orbeon-xforms-filter</filter-name> <filter-class>org.orbeon.oxf.servlet.OrbeonXFormsFilter</filter-class> <init-param> <param-name>oxf.xforms.renderer.context</param-name> <param-value>/orbeon</param-value> </init-param> </filter> <filter-mapping> <filter-name>orbeon-xforms-filter</filter-name> <url-pattern>/xforms-jsp/*</url-pattern> </filter-mapping> <filter-mapping> <filter-name>orbeon-xforms-filter</filter-name> <url-pattern>/orbeon/*</url-pattern> </filter-mapping> I have my Java class where I forward my .xhtml in my local hard disk to the Orbeon Engine. protected void doGet(HttpServletRequest request, HttpServletResponse response) throws ServletException, IOException { File formFile = new File("C:\\DB\\form.xhtml"); try{ DocumentBuilderFactory factory = DocumentBuilderFactory.newInstance(); DocumentBuilder builder=factory.newDocumentBuilder(); Document xformsDocument=builder.parse(new InputSource(new FileInputStream(formFile))); request.setAttribute("oxf.xforms.renderer.document", xformsDocument); RequestDispatcher dispatcher = request.getRequestDispatcher("/xforms-jsp/*"); dispatcher.forward(request, response); } catch(Exception ex) { ex.printStackTrace(); } } After executing this java class I get an error message on the app window saying File not found /xforms-jsp/.Please help me. |
Free forum by Nabble | Edit this page |