I am not sure why you had a blank (empty) webapps directory - possibly 
because you chose to download a version of tomcat4.0 which has no examples 
included...

I have done nothing at all to the web.xml. There was abs nothing wrong with 
your TC installation - except that it required an application to see if it 
works. I extracted the root folder from TC4.1.30 and gave it to u. The 
web.xml is the default delivered one for the root app.

hope you have a wonderful project.
Anoop

On 4/29/05, Michelle Bruns <[EMAIL PROTECTED]> wrote:
> 
> That is perfect! I had almost given up on getting 4.0 and this works
> beautifully. I will have to look at web.xml to see what exactly you
> changed, because I found on Google many people with the same problem
> but no one with the answer. Thank you SO much! You saved my life!
> 
> 
> m
> 
> On 4/29/05, Anoop kumar V <[EMAIL PROTECTED]> wrote:
> > ok here it is - remove all there is in the webapps folder and extract 
> the
> > zip file attached into webapps.
> > restart tomcat...
> >
> > then on a browser go to http://localhost:8080/index.html
> > actually http://localhost:8080/ should work too
> >
> > actually you were right - the web.xml I had given was from 5.0 version 
> of
> > tomcat.. no wonder.....
> > I didnt spend too much time on this....
> >
> >
> > Anoop
> >
> > On 4/29/05, Michelle Bruns <[EMAIL PROTECTED]> wrote:
> > > Hello,
> > >
> > > Same web-app error on the new web.xml .
> > >
> > > My zip file is about 2.6M. I uploaded it to
> > > http://www.sapphireblue.com/tomcat/tomcat.zip, but please
> > do not spend
> > > a lot of time on it. If you can see a fast easy fix that is great, but
> > > it would probably be good for me to learn 5.5 anyway.
> > >
> > > I really appreciate all your help!
> > >
> > > m
> > >
> > >
> > > On 4/29/05, Anoop kumar V < [EMAIL PROTECTED]> wrote:
> > > > my mistake then.. - I wanted to give you a bare version of the 
> web.xml.
> > I
> > > > pulled it out from my current tomcat ( I use 4.1 btw)... by 
> stripping
> > out
> > > > the unnecessary lines. Looks like I deleted more than I shd have!
> > > >
> > > > I suggest you use the file attached after deleting the previously 
> made
> > > > web.xml...
> > > >
> > > > If it is possible send me the zip file you are using to install.. I 
> will
> > > > look into it and tell u exactly what u need to do.
> > > >
> > > > regards,
> > > > Anoop
> > > >
> > > > On 4/29/05, Michelle Bruns <[EMAIL PROTECTED]> wrote:
> > > > > Anoop,
> > > > >
> > > > > Thank you so much for taking so much time to so thoroughly respond 
> to
> > > > > my message.
> > > > >
> > > > > I tried your suggestions, but no luck. It sounds to me as if maybe 
> you
> > > > > are describing a scenario for a newer version of Tomcat than I was
> > > > > using (4.0, because my instructor said it was "easier", ha). For
> > > > > example, I have no install file, only a .zip to extract. And when 
> I
> > > > > tried your XML test, on Tomcat startup I got
> > > > > "org.xml.sax.SAXParseException : Element type "web-app" must be
> > > > > declared."
> > > > >
> > > > > I have since installed Tomcat 5.5, and it works fine. I can see 
> that
> > > > > the web-app element is perfectly valid in the newer version, so 
> your
> > > > > advice probably would have been right on for a newer Tomcat 
> install
> > > > > than 4.0 . I guess since I have 5.5 running OK, I'll try to do my
> > > > > classwork using it, and hope it's not too different for me to do 
> my
> > > > > assignments which assume 4.0 .
> > > > >
> > > > > Thanks again for your help, I really appreciate it.
> > > > >
> > > > > On 4/29/05, Anoop kumar V <[EMAIL PROTECTED]> wrote:
> > > > > > SO probably you opted for a custom install and checked out that 
> u
> > did
> > > > NOT
> > > > > > want examples to be installed. If that is true then it explains 
> why
> > you
> > > > do
> > > > > > not have examples and other folders under webapps.
> > > > >
> > > > > m
> > > > >
> > > >
> > > >
> > > >
> > > > --
> > > > Thanks and best regards,
> > > > Anoop
> > > >
> > >
> > > --
> > >
> > > Michelle Kinsey Bruns
> > > http://www.sapphireblue.com/ * [EMAIL PROTECTED]
> > >
> > > ... I get my kicks above the waistline, sunshine
> > >
> >
> >
> >
> > --
> > Thanks and best regards,
> > Anoop
> >
> 
> --
> 
> 
> Michelle Kinsey Bruns
> http://www.sapphireblue.com/ * [EMAIL PROTECTED]
> 
> ... I get my kicks above the waistline, sunshine
> 



-- 
Thanks and best regards,
Anoop

Reply via email to