clear session

HI ALL

i wuould like to ask everybody wheni use session.setAttributte("a","a");

this method to set session on. and then after use this session variable i want to remove it . how can make it work?

[215 byte] By [roger5089a] at [2007-11-27 11:26:10]
# 1

Simply set it to null.session.setAttribute("a", null);

BalusCa at 2007-7-29 16:08:50 > top of Java-index,Enterprise & Remote Computing,Web Tier APIs...
# 2

sorry and other question would like know that , recently i had one problem with form submit ..

if i had one jsp page want to submit it to two or three page .

i create one javascirpt to called it .

the form morelly ... submit sequence should be

form1

form2

form3

but i donot know why sometime the sequence has been chage to diff sequence . so make session time out or data loss .

so hope some one can give me some idea for this project

roger5089a at 2007-7-29 16:08:50 > top of Java-index,Enterprise & Remote Computing,Web Tier APIs...