No still didn't work. Oh well I have the icon in the root of the webapp maybe what I'm expecting is not what this really does. I just assumed the icon would display in the manager as display-name and description do. One other thing I have no war in this application. At least none that I know of. I made this "virtual root" by myself under IIS Inet pub. I sort of just popped the web.xml in a WEB-INF folder I made and set up all this to work on port 80. The manager is still 8080 but the web app "can" be accessed over port 80.
-- George Hester __________________________________ "Mike Curwen" <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED] > > > -----Original Message----- > > From: news [mailto:[EMAIL PROTECTED] On Behalf Of George Hester > > Sent: Wednesday, February 25, 2004 4:07 PM > > To: [EMAIL PROTECTED] > > Subject: Re: attributes of the element web-app? > > > > > > Hi no error at all. I believe it is in the correct order: > > > > <web-app> > > <display-name>Welcome to My JSP-Files</display-name> > > <icon>cl6D11.gif</icon> > > <description> > > Welcome to My JSPs > > </description> > > </web-app> > > > > The dtd is: > > > > <!ELEMENT web-app (icon?, display-name?, description?, > > distributable?, context-param*, ... > > > > Right, so you have an error in the order. A webapp is "optionally an > icon element, optionally a display-name, optionally a > description..",etc, etc. > > You have Description, then icon. > > <web-app> > <icon>cl6D11.gif</icon> > <display-name>Welcome to My JSP-Files</display-name> > <description> > Welcome to My JSPs > </description> > </web-app> > > > > I was thinking the same thing the order that's why I changed > > it from my original post to the one above. I'm going to have > > to investigate the ATTLIST I may need a attributes on the > > child element <icon>. I can tell you getting images to > > appear in XML is tricky business. I have done it but using a > > XSL. I do have an XML that does it natively so I'll look > > more into that. Right now I don't think the dtd is > > constructed correctly for the image. At least it dosen't > > have the type of elements contructed in a dtd to do it as far > > as I can tell. > > > > This sounds like you're 'embedding' an image in XML? (I'm not sure > what you mean by "to appear in XML"). Tomcat only uses the filename, > and tries to find that icon file, as Tim pointed out, > > "The file > name is a relative path within the web application's > war file." > > So the file named in the 'icon' element is used, if found, by the > deployer(or not) it wouldn't look inside the XML itself for the icon. > (would it??) Have I totally misunderstood this last bit ? --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]