I am doing on Java Struts 2 framework.
Normally, I can get data from my JSP through the get set method in Form.java (action class). Below is my example :>
Form.java
You can use and add struts tag to your jsp ( at the top ):
<%@ taglib prefix="s" uri="/struts-tags"%>