Return-Path: Delivered-To: apmail-jakarta-struts-user-archive@apache.org Received: (qmail 13844 invoked from network); 28 Nov 2001 20:00:20 -0000 Received: from unknown (HELO nagoya.betaversion.org) (192.18.49.131) by daedalus.apache.org with SMTP; 28 Nov 2001 20:00:20 -0000 Received: (qmail 14400 invoked by uid 97); 28 Nov 2001 19:59:55 -0000 Delivered-To: qmlist-jakarta-archive-struts-user@jakarta.apache.org Received: (qmail 14372 invoked by uid 97); 28 Nov 2001 19:59:54 -0000 Mailing-List: contact struts-user-help@jakarta.apache.org; run by ezmlm Precedence: bulk List-Unsubscribe: List-Subscribe: List-Help: List-Post: List-Id: "Struts Users Mailing List" Reply-To: "Struts Users Mailing List" Delivered-To: mailing list struts-user@jakarta.apache.org Received: (qmail 14349 invoked from network); 28 Nov 2001 19:59:54 -0000 Message-ID: <3C0541A8.7010304@openroad.ca> Date: Wed, 28 Nov 2001 11:57:28 -0800 From: Jeff Pennal User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.0; en-US; rv:0.9.6+) Gecko/20011128 X-Accept-Language: en-us MIME-Version: 1.0 To: Struts Users Mailing List Subject: Struts modifications policy Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N Hello all, I was wondering if someone could answer this question for me. I have modified a version of struts 1.0 to support xml->xsl->html transformations. I would like to make these changes available to anyone who would want to use them but I was wondering what the policy is on posting derived works based on struts. Could someone help me with this question? Thanks, For the curious, my changes in a nutshell are: struts-config.xml gets: --------------------------------------------- org.apache.struts.action.Action gets: A document (JDOM) class variable to store the XML created in an action class. --------------------------------------------- org.apache.struts.action.ActionTransform and org.apache.struts.action.ActionTransforms (basically modified org.apache.struts.action.ActionForward(s) classes) --------------------------------------------- org.apache.struts.action.ActionServlet gets: processActionTransform which basically handles getting the correct xsl file for the user agent being passed in, does the transform on the action.document variable and dumps the resulting html(or whatever) to the client. -- Jeff Pennal p:604-694-0554(x107) Software Developer f:604-694-0558 Openroad Communications e:jeffp@openroad.ca Vancouver, BC -- To unsubscribe, e-mail: For additional commands, e-mail: