This week's book giveaway is in the OCAJP 8 forum. We're giving away four copies of OCA Java SE 8 Programmer I Study Guide and have Edward Finegan & Robert Liguori on-line! See this thread for details.
I am creating a jstree with JSON data in struts 2. I am creating JSON data successfully in Action class but
1. When I print JSON data into console it prints 2 times means my execute method executed 2 times why this happen I cant understand?
2. And please help me, How can I pass my JSON data from Action class to JSP means to Jstree.
If anybody provide me sample code for creating Jstree from struts 2 using JSON it really helpful for me.