In web.xml file: <?xml version="1.0" encoding="ISO-8859-1"?>
<!DOCTYPE web-app PUBLIC "-//Sun Microsystems, Inc.//DTD Web Application 2.2//EN" "http://java.sun.com/j2ee/dtds/web-app_2_2.dtd"> <web-app> <display-name>Hello World with Log4J</display-name> <servlet> <servlet-name>helloWorld</servlet-name> <servlet-class>ualbany.test.hello.HelloWorldServlet</servlet-class> </servlet> <servlet-mapping> <servlet-name>helloWorld</servlet-name> <url-pattern>/hello</url-pattern> </servlet-mapping> </web-app> On Tue, 2 Dec 2003, Rhino wrote: > Thanks for the link to the Servlet Specs. > > Where do I set the display name for the servlet context? > > Rhino > ----- Original Message ----- > From: "Ben Souther" <[EMAIL PROTECTED]> > To: "Tomcat Users List" <[EMAIL PROTECTED]> > Sent: Tuesday, December 02, 2003 3:27 PM > Subject: Re: Setting Display Name > > > The display name is for the servlet contex, not for individual servlets. > > You can download the Servlet Specs as a PDF here: > http://jcp.org/aboutJava/communityprocess/final/jsr154/index.html > > > > > On Tuesday 02 December 2003 03:16 pm, Rhino wrote: > > Hi, > > > > Are we talking about the same thing? I mean the Display Names on the > > http://localhost:8080/manager/html/list page, specifically the "Display > > Name" column in the Applications table on that page. > > > > All I was asking what how to set the display name for a given path in that > > table. Is setting a value in the <serlvet> tag for an individual servlet > in > > my web.xml going to work when I've got several servlets in that web.xml? > Or > > is your suggestion assuming that I have only a single servlet in each > path? > > > > It's quite possible that I am doing something non-standard but I often > have > > many (related) servlets within each of the paths in that table. Naturally, > > my web.xml then has several <servlet> elements in it. Is that a bad way of > > doing things? Is it better for me to be putting each servlet in its own > > path? That sounds like something that would have implications for my code, > > particularly in how the different servlets share information, but if it's > > the "right" way of doing things, I'd probably be better to bite the bullet > > and make the necessary changes now.... > > > > Also, can you give me a URL for "SRV 13"? I've never heard of that before. > > Is it on the Apache website somewhere? In the Tomcat docs? Or is this at a > > website for whatever standards body governs the server specs? > > > > Rhino > > > > ----- Original Message ----- > > From: "Shapira, Yoav" <[EMAIL PROTECTED]> > > To: "Tomcat Users List" <[EMAIL PROTECTED]> > > Sent: Tuesday, December 02, 2003 12:42 PM > > Subject: RE: Setting Display Name > > > > > > > > Howdy, > > Simply add <display-name>BlahBlah</display-name> to the servlet element. > > The doc for this and all other deployment descriptor questions of this > kind > > is the Servlet Specification itself, SRV 13. > > > > Yoav Shapira > > Millennium ChemInformatics > > > > -----Original Message----- > > From: Rhino [mailto:[EMAIL PROTECTED] > > Sent: Tuesday, December 02, 2003 12:35 PM > > To: tomcat-user > > Subject: Setting Display Name > > > > Can anyone tell me where/how to set the Display Name for a given servlet > or > > point me to the relevant documentation? > > > > This is the value that comes up in the Manager application when it lists > > your servlets. > > > > Rhino > > --- > > rhino1 AT sympatico DOT ca > > "If you want the best seat in the house, you'll have to move the cat." > > > > > > > > This e-mail, including any attachments, is a confidential business > > communication, and may contain information that is confidential, > > proprietary and/or privileged. This e-mail is intended only for the > > individual(s) to whom it is addressed, and may not be saved, copied, > > printed, disclosed or used by anyone else. If you are not the(an) > intended > > recipient, please immediately delete this e-mail from your computer system > > and notify the sender. Thank you. > > > > > > --------------------------------------------------------------------- > > To unsubscribe, e-mail: [EMAIL PROTECTED] > > For additional commands, e-mail: [EMAIL PROTECTED] > > > > > > > > --------------------------------------------------------------------- > > To unsubscribe, e-mail: [EMAIL PROTECTED] > > For additional commands, e-mail: [EMAIL PROTECTED] > > -- > Ben Souther > F.W. Davison & Company, Inc. > > > > --------------------------------------------------------------------- > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] > > > > --------------------------------------------------------------------- > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] > > |----------------------------------| | Ryan Russo | | [EMAIL PROTECTED] | | University at Albany--Computing | | <<remove [noSPAM] to e-mail>> | | Technical Services Web Team | |__________________________________| --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
