i fetched an int type from mysql and assign to variable
<c:set var="eid" value="${rs.rows[0].eid}" scope="session" />
it seems that its assigning type int since if i
String test = (String) pageContext.getAttribute("eid");
i get a cast error
but if i
<c:set var="eid" value="1" scope="session" />
the ff
String test = (String) pageContext.getAttribute("eid");
would work
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]