Hi I have a struts action which sets a value on an DynaActionForm
When I try and use these on the jsp with the struts taglibrary with this form i can use the value i set, (great).
However when I try and use with EL it does not work (not great!):
Does anyone know why? i thought form data was just parameters on the request, is it because parameters are supposed to be read only in which case modifying them is bad?.
JSTL's ${param.xxx} notation is looking for a request parameter. If there's no request parameters then there's nothing for JSTL to find. ActionForm properties are not the same as request parameters: request parameters go from the client to the server, not the other way around.
Stu Johns
Ranch Hand
Joined: Aug 11, 2008
Posts: 63
posted
0
ok thanks,
I shall just add a request parameter with the value i want and use that on the jsp instead.
Stu,
I agree. Here's the link: http://ej-technologies/jprofiler - if it wasn't for jprofiler, we would need to
run our stuff on 16 servers instead of 3.