Return-Path: Delivered-To: apmail-jakarta-tomcat-user-archive@apache.org Received: (qmail 76126 invoked from network); 25 Jan 2003 18:26:02 -0000 Received: from exchange.sun.com (192.18.33.10) by daedalus.apache.org with SMTP; 25 Jan 2003 18:26:02 -0000 Received: (qmail 17319 invoked by uid 97); 25 Jan 2003 18:27:10 -0000 Delivered-To: qmlist-jakarta-archive-tomcat-user@jakarta.apache.org Received: (qmail 17297 invoked by uid 97); 25 Jan 2003 18:27:09 -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 17285 invoked by uid 98); 25 Jan 2003 18:27:08 -0000 X-Antivirus: nagoya (v4218 created Aug 14 2002) Message-ID: <20030125182541.22870.qmail@web14503.mail.yahoo.com> Date: Sat, 25 Jan 2003 10:25:41 -0800 (PST) From: vim m Subject: RE: A follow-up of my last post To: Tomcat Users List In-Reply-To: <20030125174353.55100.qmail@web20601.mail.yahoo.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N Take a look at this web page. http://jakarta.apache.org/tomcat/tomcat-4.0-doc/appdev/deployment.html There is a sample web.xml file given here. You will do well do read that. In the web.xml file it does state that servlets can be called without making an entry in the web.xml file by using - http://host/context-path/servlet/classname. But I have not tried it so far. The doc also says that this method is not portable. Have pasted the web.xml file below: My Web Application This is version X.X of an application to perform a wild and wonderful task, based on servlets and JSP pages. It was written by Dave Developer (dave@mycompany.com), who should be contacted for more information. webmaster myaddress@mycompany.com The EMAIL address of the administrator to whom questions and comments about this application should be addressed. controller This servlet plays the "controller" role in the MVC architecture used in this application. It is generally mapped to the ".do" filename extension with a element, and all form submits in the app will be submitted to a request URI like "saveCustomer.do", which will therefore be mapped to this servlet. The initialization parameter namess for this servlet are the "servlet path" that will be received by this servlet (after the filename extension is removed). The corresponding value is the name of the action class that will be used to process this request. com.mycompany.mypackage.ControllerServlet listOrders com.mycompany.myactions.ListOrdersAction saveCustomer com.mycompany.myactions.SaveCustomerAction 5 graph This servlet produces GIF images that are dynamically generated graphs, based on the input parameters included on the request. It is generally mapped to a specific request URI like "/graph". controller *.do graph /graph 30 --- Mark Liu wrote: > Virtually, I don't have anything for my /x509 > web.xml. > > Here is my /x509 web.xml: > > **** beginning of x509 web.xml ***** > > > > PUBLIC "-//Sun Microsystems, Inc.//DTD Web > Application 2.3//EN" > "http://java.sun.com/dtd/web-app_2_3.dtd"> > > > X509 Project > > X509 Public Key Certificate Authentication > > > > **** end of x509 web.xml ***** > > I remember in earlier versions of Tomcat, any web > application should work just fine with a primitive > web.xml like so: > > *** beginning of a primitive web.xml **** > > > > PUBLIC "-//Sun Microsystems, Inc.//DTD Web > Application 2.3//EN" > "http://java.sun.com/dtd/web-app_2_3.dtd"> > > > > > *** end of a primitive web.xml **** > > Is the servlet mapping a new Tomcat rule? Is there > any way I can have my web application work without > mapping each servlet? > > Thanks. > > Mark > > --- "Turner, John" wrote: > > > > Do you have a mapping for the servlet(s) in your > > application's web.xml file? > > > > The Invoker servlet is disabled by default in > recent > > versions of 4.1.x for > > security reasons, but it is enabled in the > /examples > > web.xml. > > > > John > > > > > > -----Original Message----- > > From: Mark Liu [mailto:markliu1989@yahoo.com] > > Sent: Saturday, January 25, 2003 3:09 AM > > To: tomcat-user@jakarta.apache.org > > Subject: A follow-up of my last post > > > > > > Also please note that I have changed Marty Hall's > > ServletUtilities.java and > > ShowParameters.java according my system. > > > > For example, I commented out the package line. > > > > Any way, as I said in the last post, the servlet > > works > > great if I put it under Tomcat's examples > > application. > > > > It just does not work under my newly-created x509 > > application. > > > > I don't understand this. > > > > Please kindly help. > > > > Thanks. > > > > Mark. > > > > __________________________________________________ > > Do you Yahoo!? > > Yahoo! Mail Plus - Powerful. Affordable. Sign up > > now. > > http://mailplus.yahoo.com > > > > -- > > To unsubscribe, e-mail: > > > > > For additional commands, e-mail: > > > > > > --- > > > > Checked by AVG anti-virus system > > (http://www.grisoft.com). > > Version: 6.0.443 / Virus Database: 248 - Release > > Date: 1/10/2003 > > > > > > --- > > > > Checked by AVG anti-virus system > > (http://www.grisoft.com). > > Version: 6.0.443 / Virus Database: 248 - Release > > Date: 1/10/2003 > > > > > > -- > > To unsubscribe, e-mail: > > > > > For additional commands, e-mail: > > > > > > > __________________________________________________ > Do you Yahoo!? > Yahoo! Mail Plus - Powerful. Affordable. Sign up > now. > http://mailplus.yahoo.com > > -- > To unsubscribe, e-mail: > > For additional commands, e-mail: > > __________________________________________________ Do you Yahoo!? Yahoo! Mail Plus - Powerful. Affordable. Sign up now. http://mailplus.yahoo.com -- To unsubscribe, e-mail: For additional commands, e-mail: