How to assign value to a jsp variable

前端 未结 4 689
一个人的身影
一个人的身影 2020-12-19 22:34

Can anybody tell how to assign a value coming from \"\" into jsp variable ?

4条回答
  •  时光说笑
    2020-12-19 23:23

    As Tim mentioned, is equivalent to calling the action's getA() method. You can get this using the JSP EL as ${action.a}.

    If you need to evaluate an OGNL expression and store that in an EL variable, you would probably need a custom tag.

提交回复
热议问题