Return-Path: Delivered-To: apmail-jakarta-tomcat-user-archive@apache.org Received: (qmail 10730 invoked from network); 14 Nov 2001 21:17:58 -0000 Received: from unknown (HELO nagoya.betaversion.org) (192.18.49.131) by daedalus.apache.org with SMTP; 14 Nov 2001 21:17:58 -0000 Received: (qmail 17392 invoked by uid 97); 14 Nov 2001 21:16:53 -0000 Delivered-To: qmlist-jakarta-archive-tomcat-user@jakarta.apache.org Received: (qmail 17364 invoked by uid 97); 14 Nov 2001 21:16:52 -0000 Mailing-List: contact tomcat-user-help@jakarta.apache.org; run by ezmlm Precedence: bulk List-Unsubscribe: List-Subscribe: List-Help: List-Post: List-Id: "Tomcat Users List" Reply-To: "Tomcat Users List" Delivered-To: mailing list tomcat-user@jakarta.apache.org Received: (qmail 17346 invoked from network); 14 Nov 2001 21:16:51 -0000 Message-ID: From: Randy Layman To: Tomcat Users List Subject: RE: Why am I getting a Javascript file instead of my servlet ? Date: Wed, 14 Nov 2001 15:35:12 -0500 MIME-Version: 1.0 X-Mailer: Internet Mail Service (5.5.2448.0) Content-Type: text/plain; charset="iso-8859-1" X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N > -----Original Message----- > From: D. Jay Newman [mailto:jay@sprucegrove.com] > Sent: Wednesday, November 14, 2001 4:03 PM > To: tomcat-user@jakarta.apache.org > Subject: Re: Why am I getting a Javascript file instead of my > servlet ? > > > > First suggestion: Eliminate the JavaScript. Our > developers (myself > > included) have had plenty of problems with variables named > action resetting > > the URL that the form posts to. > > JavaScript itself isn't too bad. It's very useful to add > interaction to > a page. > I wasn't saying JavaScript was bad or should be gotten rid of - I was suggesting dumping all of the JavaScript as a first step to figuring out where the problem is (division of one large problem into areas to limit the amount of code to be examined). > -- > D. Jay Newman ! // The worst possible > legal hashCode > jay@sprucegrove.com ! public int hashCode() { > return 42;} > http://www.sprucegrove.com/~jay/ ! -- _Effective Java_ > > -- > To unsubscribe: > For additional commands: > Troubles with the list: > -- To unsubscribe: For additional commands: Troubles with the list: