I have been using EL(expression Langugage) in JSP, where I need to store the value from EL.
Ex: $(param.name.value)
where na开发者_Python百科me is a textbox I need to stored the name value in a string in JSP, how to do it.
You need to use ${param.name}
instead of $(param.name.value)
. Note the braces instead of parentheses as well as leaving off .value
.
Your question is vague about where you want to store the value. If you simply need to use it on a JSP, this works. If you need to store it in a database or something, that takes more work.
精彩评论