Return-Path: Delivered-To: apmail-jakarta-struts-user-archive@apache.org Received: (qmail 96838 invoked from network); 13 Mar 2003 18:23:00 -0000 Received: from exchange.sun.com (192.18.33.10) by daedalus.apache.org with SMTP; 13 Mar 2003 18:23:00 -0000 Received: (qmail 6159 invoked by uid 97); 13 Mar 2003 18:24:44 -0000 Delivered-To: qmlist-jakarta-archive-struts-user@nagoya.betaversion.org Received: (qmail 6152 invoked from network); 13 Mar 2003 18:24:44 -0000 Received: from daedalus.apache.org (HELO apache.org) (208.185.179.12) by nagoya.betaversion.org with SMTP; 13 Mar 2003 18:24:44 -0000 Received: (qmail 87247 invoked by uid 500); 13 Mar 2003 18:21:02 -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 87221 invoked from network); 13 Mar 2003 18:21:02 -0000 Received: from unknown (HELO hume.tsdinc.steitz.com) (209.249.229.10) by daedalus.apache.org with SMTP; 13 Mar 2003 18:21:02 -0000 Content-Class: urn:content-classes:message Received: from Lavoie.tsdinc.steitz.com ([209.249.229.4]) by hume.tsdinc.steitz.com with Microsoft SMTPSVC(5.0.2195.5329); Thu, 13 Mar 2003 13:19:36 -0500 Received: from steitz.com ([130.13.162.175]) by Lavoie.tsdinc.steitz.com with Microsoft SMTPSVC(5.0.2195.5329); Thu, 13 Mar 2003 13:19:36 -0500 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1106 Message-ID: <3E70CBBB.7040901@steitz.com> Date: Thu, 13 Mar 2003 11:19:39 -0700 From: "Phil Steitz" User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:0.9.9) Gecko/20020408 X-Accept-Language: en-us, en MIME-Version: 1.0 To: "Struts Users Mailing List" Subject: Re: [THURSDAY] struts questions References: Content-Type: text/plain; format=flowed; charset="us-ascii" Content-Transfer-Encoding: 7bit X-OriginalArrivalTime: 13 Mar 2003 18:19:36.0525 (UTC) FILETIME=[1A9247D0:01C2E98D] X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N Bueno Carlos M wrote: > Hi, all -- I'm new to struts and I have a few questions. Since you are the > experts I'm sure you will be able to help me. > > My boss wants to know how many people are using struts and how long it will > take to build our application using struts as opposed to our current > development process. We currently have a thousand monkeys sitting at a > thousand emacs editors. The application isn't completely designed yet, and > of course I can't release confidential information about our application but > if you could give me an estimate of monkey-hours saved, that would be great. Time saving will depend on the nature of the application and its expected lifetime. Obvioulsly, it also depends on what "your current development process" is. > > I was able to download the struts-blank.war file but I am having trouble > setting it up. The first stumbling block was that it is misnamed. It should > be called 'struts-blank.zip' because it is in zip format. I had to open the > file in hexedit to figure that one out. Hopefully the next version will have > the right name??? It is a war file, which is a compressed archive used to package J2EE web applications for deployment. To understand better how to use war files (and to answer your "feline" questions below) and more generally how to deploy J2EE web applications, see http://jakarta.apache.org/tomcat/tomcat-4.1-doc/appdev/index.html. If you have not already done so, you should also read the Servlet spec: http://java.sun.com/products/servlet/download.html > > The other problem I have is that I can't get my application to behave > properly. If the user types in their email address I want to be able to > check that it is a correct one and show the field red while they are typing > if it is not. I have a javascript that checks for the '@' sign but many > people are typing in 'a@a'. Since I don't think so many people would have > the same email address we are losing valuable data. How can struts help me > with this? Will it take many monkey-hours to implement? The Struts Validator can help here: http://jakarta.apache.org/struts/userGuide/dev_validator.html > > Once I unzipped the file I could not find any README or INSTALL file. I > tried the usual 'make; make install' but that did not work. I went out on > the net to find some install instructions and I read one place that said I > just had to stick the zip file inside my tom cat. I do have a cat, but she's > female. Will that make a difference, or does struts only run on male cats? > Does it matter if they are neutered? Does each client need to have a male > cat or just the server? > See above comment. If you use a standard web container (e.g Tomcat) and conform to the directory structure described in the links above, you can just put the .war file in the /webapps directory and the container will automatically expand it when it (the container) starts. You should also read http://jakarta.apache.org/struts/faqs/kickstart.html http://jakarta.apache.org/struts/userGuide/index.html http://jakarta.apache.org/struts/installation.html#Containers > Thank you for your time, > Carlos > --------------------------------------------------------------------- To unsubscribe, e-mail: struts-user-unsubscribe@jakarta.apache.org For additional commands, e-mail: struts-user-help@jakarta.apache.org