Can i send object or bean instead of sending parameters in jsp request to servlet, if yes , How can i get the value from each input field and use it inside jsp.
E.g:
//define user object
<jsp:useBean id="user" class="iug.edu.entities.UserBean"/>
//here is the input inside fomr
<input type="text" name="userName"/>
//here jsp code , to add object attributes
<%
user.setFullName**(?????**); // how can i get userName from input field
%>
i can make it via java script but can i use js var inside jsp ? what should i do ??plz help!