what you mean?
if you want to access the variable so you can change it, put it in an input box inside a form so you can change and post the variable
xxxx.html
<form method="post" action="test.jsp">
<input type="text" name="test" />
<input type="submit" name="submitTest">
</form>
test.jsp
<%
if( request.getParameter( "submitTest") == true)
{
out.write( request.getParameter( "test"));
}
%>