Hello there. I am trying to get rid of scriptlets. I attach an object from servlet and try to access it in JSTL. But the logs say that JSP can not find the properties of this object. Here is the servlet sample
request.setAttribute("student", student);
Here is the JSTL sample, with different combinations - all producing no result at all (how ever scriptlets do)
// scriptlets work fine - I just want to use JSTL for this
<input type='text' value='${student.FirstName}' /> // without single quotes
<input type='text' value='${student.FirstName}' /> // with single quotes
<input type='text' value='' /> // using - with single quotes
<input type='text' value= /> // using - without single quotes
As you can see, I have tried different combinations but could not get and display value of request attribute using JSTL. What is wrong? Thanks for any input.
This world is going to explode due to international politics, SOON.