how to transfer value from one jsp page to second jsp page
i have one value called titleValue at one jsp page called titleValue..i need to show this value at second jsp page.. could you please tell me how to show this value at second page or how to x:out
$titleValue
at second page?
this is m开发者_如何转开发y code at first page :
<x:set select="title" var="titleValue" scope="session"/>
<x:out select="$titleValue"/>
Two ways:
- put it in the
session
. Accessible throgh${sessionScope.titleValue}
- pass it as a get parameter (
page.jsp?titleValue=something
). In that case it is accessible with${param.titleValue}
精彩评论