Hi, I would be gratefull if anyone could shed some light on the problem I encounter.
I try to use a self-written Action that produces an XML fragment (as an XMLizable object) and puts this in the Session. After which I use the SessionAttributeGenerator to generate this XML from the session and output it to the browser. Here is the submap that I'm using: <<sitemap.xmap>> Here is the source code for my Action: <<MyMessage.java>> <<ProduceMessage.java>> The result of this is that the code past the "new MyMessage()" statement is NEVER executed.... If I change ProduceMessage.java to directly put the XML fragment as a String object in the session, the desired result is produced. I suspect there is a problem when trying to load a class (MyMessage) from whithin the action, but I can't get the explanation by debugging the stuff. I'm using JDK 1.3.1, Tomcat 4.0.2 and Cocoon 2.0.3 under Windows 2000. Thanx for your help. Regards, Francis ============================================ Ing. FRA Vermeulen Senior J2EE Architect ECM Solutions - Eindhoven mobiel: +31 (0) 6 222 03 856 e-mail: [EMAIL PROTECTED] ============================================
sitemap.xmap
Description: Binary data
MyMessage.java
Description: Binary data
ProduceMessage.java
Description: Binary data
--------------------------------------------------------------------- Please check that your question has not already been answered in the FAQ before posting. <http://xml.apache.org/cocoon/faq/index.html> To unsubscribe, e-mail: <[EMAIL PROTECTED]> For additional commands, e-mail: <[EMAIL PROTECTED]>