Just wandering if anyone could help me out with a quick fix.
I'm looking for a quick simple example of JSP2.0 with JSTL or EL to connect to a Bean.
I have seen examples of how you retrieve data from a Bean but I was wondering if someone could throw in a quick example of populating a Bean, say for a registration page
of a site or something.
Something simple like this:-
Bear Bibeault wrote:I assume that you mean after submitting a form? If so, then this is something that should be done in a servlet rather than a JSP. You could use <c:set> for this in a JSP, but submitting form data directly to a JSP would be considered a poor practice.
So basically the only was is to use the old
There's no way of accessing a Bean directly from the JSP and setting the property?
OK, just wondered if JSP/Servlet had a way of accessing Beans directly (JSF style)