praneeth ram wrote:I added @Transactional. but how to add <tx:annotation--driven> in xml file.
Add the Spring tx namespace, then just add that String in your xml file. Just like you are using <bean> that comes from Spring's bean namespace.
If you are using STS, there is a tab below the xml file called "namespaces" you can select that tab and see checkboxes. Find the one for the tx namespace and select it, now you add <tx:annotation-driven>
I’ve looked at a lot of different solutions, and in my humble opinion Aspose is the way to go. Here’s the link: http://aspose.com