Wrox Programmer Forums
Go Back   Wrox Programmer Forums > Java > Java Open Source > Apache Tomcat
Apache Tomcat General discussion of the Apache Tomcat servlet container. For discussions specific to the Professional Apache Tomcat book, please see the book discussion forum for that book.
Welcome to the p2p.wrox.com Forums.

You are currently viewing the Apache Tomcat section of the Wrox Programmer to Programmer discussions. This is a community of software programmers and website developers including Wrox book authors and readers. New member registration was closed in 2019. New posts were shut off and the site was archived into this static format as of October 1, 2020. If you require technical support for a Wrox book please contact http://hub.wiley.com
Old July 21st, 2005, 03:50 AM
Registered User
Join Date: Jul 2005
Posts: 4
Thanks: 0
Thanked 0 Times in 0 Posts
Default how to register servlets with Tomcat 5.59 server

Hi guys,

Iam trying to register servlets with the tomcat 5.59 version, so as to associate the initial paramters with a servlet. Tomcat doesn't let you set the initial paramters for servlets that are merely in the servlets folder.. u have to explicitly register the servlet with the server

can u tell me how to do it. i think u have to change the file
C:\jakarta-tomcat-5.5.9\conf\web.xml in order to do that.

pls tell me what changes i need to do in this file. to associate an intial parameter say "password" and "username" with a servlet say "secretServlet"

replies will be very much appreciated



Similar Threads
Thread Thread Starter Forum Replies Last Post
running servlets on tomcat 6.0.18 tommytucson Apache Tomcat 1 December 3rd, 2008 07:16 AM
Tomcat recompiling servlets spmanivel Servlets 3 August 16th, 2006 03:31 AM
Servlets and Tomcat Camer Servlets 1 November 25th, 2005 08:34 AM
Connect to remote SQL Server 2000 using servlets Vinay Bansal Servlets 1 August 5th, 2005 12:22 AM
How to register a server c# script with c#? shenliujun VS.NET 2002/2003 1 September 8th, 2004 08:00 AM

Powered by vBulletin®
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.
Copyright (c) 2020 John Wiley & Sons, Inc.