i hava to write like this but iam getting the null value .
<%String brokerCDOP=(String)session.getAttribute("brokerCDO P");
out.print(brokerCDOP);%>
<script language="javascript">
var alertValue = '<%=brokerCDOP %>';
</script>
brokerCDOP, this value u r getting null?
If that then there is no attribute bound with the name brokerCDOP.
I think u r right with ur code.
What acoder syas that is also right.
But ur code is more effective.
If we can access the value using ur technique then there is no need to create an extra hidden field.Right?
Plz inform me what u understood.
Kind regards,
Dmjpro.