how to configure junit application context file with struts........? it is not finding sessionfactory method..........

Your question does no make sense
You miss some basic concept(s)

How to configure my car to use shis racks while using a trailer ?

You might find a similar thread helpful.

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.