nicolaken 2002/12/03 09:07:39 Added: src/blocks/jsp/conf jsp.xconf jsp.xmap jsp.xroles Log: <action dev="NKB" type="update"> Moved the jsp components to the jsp block, using hand-made-to-be-cleaned mock objects for the weblogic specific imports. Had also to move some definitions from the cocoon roles and xconf file. This moving of the blocks is indeed cleaning the core! :-) </action> Revision Changes Path 1.1 xml-cocoon2/src/blocks/jsp/conf/jsp.xconf Index: jsp.xconf =================================================================== <?xml version="1.0"?> <xconf xpath="/cocoon" unless="jsp-engine"> <!-- JSP Engine: The JspGenerator selects a JSPEngine component. The JSPEngine component launches a JSP servlet engine of your servlet container, feeds the HttpRequest into the JSP servlet engine, and pipes the jsp response as SAX events into Cocoon2. The JSP page is specified by the HttpRequest. This way you can continue to use your JSP pages. Your migration from JSP to XSP may be done step by step. You may specify your JSP pages either as JSP scriptlets or as JSP-XML. But keep in mind that your JSP output should be valid XML. --> <jsp-engine logger="core.jsp-engine"> <parameter name="servlet-class" value="org.apache.jasper.servlet.JspServlet"/> <parameter name="servlet-name" value="*.jsp"/> </jsp-engine> </xconf> 1.1 xml-cocoon2/src/blocks/jsp/conf/jsp.xmap Index: jsp.xmap =================================================================== <?xml version="1.0"?> <xmap xpath="/sitemap/components/readers" unless="reader[@name='jsp']"> <map:reader name="jsp" src="org.apache.cocoon.reading.JSPReader"/> </xmap> 1.1 xml-cocoon2/src/blocks/jsp/conf/jsp.xroles Index: jsp.xroles =================================================================== <?xml version="1.0"?> <xroles xpath="/role-list" unless="role[@name='org.apache.cocoon.components.jsp.JSPEngine']"> <role name="org.apache.cocoon.components.jsp.JSPEngine" shorthand="jsp-engine" default-class="org.apache.cocoon.components.jsp.JSPEngineImpl"/> </xroles>
---------------------------------------------------------------------- In case of troubles, e-mail: [EMAIL PROTECTED] To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]