Retrieve value from query string?

后端 未结 1 919
甜味超标
甜味超标 2021-02-20 01:19

How can I retrieve the value of a Query String Parameter using Expression Language in a JSP?

相关标签:
1条回答
  • 2021-02-20 01:40
    <c:out value = "${pageContext.request.queryString}" />
    

    update:

    If you want certain value for example ?key1=val1&key2=val2

    then

    <c:out value = "${param.key1}" />
    
    <c:out value = "${param.key2}" />
    
    0 讨论(0)
提交回复
热议问题