Results 1 to 2 of 2

Thread: import resource tag

  1. #1
    Join Date
    Oct 2007
    Posts
    2

    Default import resource tag

    Hi,
    Can I import more than 1 resource in a single import resource statement like,

    <import resource="HibernateConfigApplicationContext.xml,Hi bernateDAOApplicationContext.xml" />

    or I have no other option but to write 2 statements:
    <import resource="HibernateConfigApplicationContext.xml" />
    <import resource=HibernateDAOApplicationContext.xml" />

    Thanks

  2. #2
    Join Date
    Oct 2007
    Posts
    2

    Default

    I made it to work using
    <import resource="classpath:Hibernate*.xml" />

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •