My JSP code: on s:if, JSP shows compile time error when hovering mouse on it (like spell error red line under s:if), shows msg “Syntax error on token “if”, ( expected after this token” although this code works fine. No problem. My questions are: Why it shows error, although it works ? Is this good coding practice to write Struts
Tag: struts2
How to add data in JavaScript and bind it to jQuery grid
I have a form whose value get stored in the database on click of submit button. Also there are 4 fields whose data is to be displayed into the struts2-jquery-grid. I first used a temporary table to save values and display those values in the grid. But this approach isn’t correct as the values remain in the table even if
How to send Object from JavaScript to Action class in Struts 2?
In my Action class I have an object of the class which is a POJO. GmaThresholdParameter is also the POJO (my Entity class) here which has various members whose values I want to get filled from the user. I get the values filled from user in textfields in my JSP: JSP: There’s the name attribute in textfields whose values are