Return-Path: Delivered-To: apmail-struts-user-archive@www.apache.org Received: (qmail 56361 invoked from network); 14 Sep 2004 17:10:56 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (209.237.227.199) by minotaur-2.apache.org with SMTP; 14 Sep 2004 17:10:56 -0000 Received: (qmail 66919 invoked by uid 500); 14 Sep 2004 17:10:34 -0000 Delivered-To: apmail-struts-user-archive@struts.apache.org Received: (qmail 66847 invoked by uid 500); 14 Sep 2004 17:10:34 -0000 Mailing-List: contact user-help@struts.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 user@struts.apache.org Received: (qmail 66834 invoked by uid 99); 14 Sep 2004 17:10:34 -0000 X-ASF-Spam-Status: No, hits=0.0 required=10.0 tests= X-Spam-Check-By: apache.org Received-SPF: pass (hermes.apache.org: local policy) Received: from [216.193.202.245] (HELO waseda.lunarpages.com) (216.193.202.245) by apache.org (qpsmtpd/0.28) with ESMTP; Tue, 14 Sep 2004 10:10:31 -0700 Received: from 000d88870c4e.click-network.com ([131.191.32.112] helo=[127.0.0.1]) by waseda.lunarpages.com with esmtpa (Exim 4.42) id 1C7Gp4-0005bv-Rj for user@struts.apache.org; Tue, 14 Sep 2004 10:10:30 -0700 Message-ID: <41472603.4040407@michaelmcgrady.com> Date: Tue, 14 Sep 2004 10:10:27 -0700 From: Michael McGrady User-Agent: Mozilla Thunderbird 0.7.3 (Windows/20040803) X-Accept-Language: en-us, en MIME-Version: 1.0 To: Struts Users Mailing List Subject: Re: Trying to come up with a Mapping-Dispatch combo Action References: <5323921EC1C08D4D8E8C60FB37473DE7022B2D02@amcw2ms811.amc.ds.af.mil> In-Reply-To: <5323921EC1C08D4D8E8C60FB37473DE7022B2D02@amcw2ms811.amc.ds.af.mil> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-AntiAbuse: This header was added to track abuse, please include it with any abuse report X-AntiAbuse: Primary Hostname - waseda.lunarpages.com X-AntiAbuse: Original Domain - struts.apache.org X-AntiAbuse: Originator/Caller UID/GID - [0 0] / [47 12] X-AntiAbuse: Sender Address Domain - michaelmcgrady.com X-Source: X-Source-Args: X-Source-Dir: X-Virus-Checked: Checked X-Spam-Rating: minotaur-2.apache.org 1.6.2 0/1000/N Don't worry, David, this is a list for exchanging ideas. Yours are appreciated. However, I think you are mistaken in this instance. I am fairly sure that is the case, since this code has been run and works. Please correct me if I am wrong, but I think that you think that somehow the is going to show up in the response object and be present in the JavaScript on the page, which would be bad. However, that is not the case. What shows up on the page is the result of . The JSP page is going to create a servlet which will really run this and it is going to print out not this code but the result of the code. If this were not possible, we could not use taglibs in HTML. We on the same page? (Not trying to be sardonic!) Michael McGrady >Here's the original code: > >function swapAction( formName, action) { > formAction = document.getElementById( formName ).action; > newAction = ''; > document.getElementById( formName ).action = newAction; >} > > > >Yeah, I'm right. That no one sees it is blowing my mind ... sorry, I >can't let it die. > --------------------------------------------------------------------- To unsubscribe, e-mail: user-unsubscribe@struts.apache.org For additional commands, e-mail: user-help@struts.apache.org