Tag Archives: json
Dynamic Drop Down List with Struts2 UI tag without AJAX, jQuery
In this tutorial session we will create simple application to load the drop down list options dynamically from the server side. Also we will use only struts 2 UI tag, not ajax or jquery. In our previous example we used … Continue reading
Dynamic Drop Down List with Struts 2 and AJAX
In this tutorial session we will create simple application to load the drop down list options dynamically from the server side. Also we will load one drop down list based on the selection of another drop down list. We use AJAX, JQuery, … Continue reading
Send JSON object to Struts 2 Action by JQuery AJAX
To send data from client side to server side, one of the best way is send as JSON object. Please follow the steps below to achive this. To do this first we have to enable json compatibility in the struts2 … Continue reading
Read JSON object from Struts 2 Action by JQuery AJAX
To read java objects from action class as JSON object please follow the steps as below. To understand completely please read this article first. Modify the struts.xml as mentioned in the post. To read the json just add the return type as … Continue reading