• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Liutauras Vilda
  • Bear Bibeault
  • Jeanne Boyarsky
  • paul wheaton
Sheriffs:
  • Junilu Lacar
  • Paul Clapham
  • Knute Snortum
Saloon Keepers:
  • Stephan van Hulst
  • Ron McLeod
  • Tim Moores
  • salvin francis
  • Carey Brown
Bartenders:
  • Tim Holloway
  • Frits Walraven
  • Vijitha Kumara

applicationContext-blahblah.xml  RSS feed

 
Greenhorn
Posts: 27
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I am dealing with a legacy spring code base with bunch of possible unused codes.  It is an old spring MVC application.  so from web.xml, I see

and I can allocate these myapp-applicationContext.xml  and myapp-servlet.xml.  Now, I also see another applicationContext type xml file (like myapp-test-applicationContext.xml) spread in other directory, but they are not referred in web.xml or any other xml file, can I say this myapp-test-applicationContext.xml most likely is NOT used in this spring MVC application at all ?  Put it different way, can I assume the actual application context xml file that is used should be referred in web.xml for a spring mvc (old spring) app ?
 
Ranch Hand
Posts: 84
1
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Can you run your unit tests without this "extra" .xml file?
Sometimes a different .xml file is created for unit testing.
 
Too many men are afraid of being fools - Henry Ford. Foolish tiny ad:
global solutions you can do in your home or backyard
https://coderanch.com/t/708587/global-solutions-home-backyard
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!