javascript get session value

I would like to display a "Confirm message box " with javascript , eg Confirm ("Sure to Delete (Y/N") , the confirm message should depend on some condition from session bean . For example , if the user select the current lanuage on Login , session bean should keep a value to store the current language , afterward if the user delete a record , the content of the confirm message will depend on the lanugage which the user selected .

Do anyone can help me how to get a value from session in javascript .

Thanks

[529 byte] By [mickeyleehk] at [2007-11-26 8:46:41]
# 1
Hi,You can create invisible static field (or other component) bound to session bean property you need. In JavaScript, you can get value of this static field.Thanks, Misha(Creator team)
Mikhail_Matveev at 2007-7-6 22:32:33 > top of Java-index,Development Tools,Java Tools...