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.