Understanding context.xml in tomcat 6

后端 未结 2 1562
一生所求
一生所求 2021-02-09 21:15

I created a mainly empty dynamic web project in eclipse.

It has

  • no servlets
  • no jsp files

The web.xml is



        
2条回答
  •  栀梦
    栀梦 (楼主)
    2021-02-09 21:33

    Your question is a tad ambiguous but I'll give it a try.

    Delete the textprojekt.xml that you edited, make those same changes in the context.xml for your project, and restart tomcat.

    It may be caused by a conflict between the two xml files. Changing the xml file that is created by tomcat does nto change the context.xml file for the webapp. At least it doesn't change on tomcat6.0.18 that I use for dev work.

    Hope that's helpful.

提交回复
热议问题