data from servlet

hi all,i am sending some data from applet to a servlet.this applet is in a jsp which is submitted to another jsp.in the second jsp want the data stored in the servlet. how should i go for it.thanks in adv
[225 byte] By [paridaa] at [2007-11-27 6:12:04]
# 1
hiuse session to maintain the values globally. so u can retrieve in any pageregards- venkat
noveleraa at 2007-7-12 17:18:58 > top of Java-index,Enterprise & Remote Computing,Web Tier APIs...
# 2
hi,thanks a lot for ur reply but i tried storing in the session but i am not able to get the data. now i have created another jsp to which the servlet will redirect the values but it fails . i am using request dispatcher. howm shall i do it.plz help
paridaa at 2007-7-12 17:18:58 > top of Java-index,Enterprise & Remote Computing,Web Tier APIs...
# 3

hi,

in request dispatcher the value is maintained in two pages i.e) form submit page and redirected page,

but in u r case u have to maintain the values globally i.e) in all pages,

so u have to create a session and maintain the value,

u can also write bean to set and get value globally,

and u can use in ur jsp page for setting the value and later to retrieve the value,

best is to use the session,

wot is the problem ur facing in using session.

regards

-venkat

noveleraa at 2007-7-12 17:18:58 > top of Java-index,Enterprise & Remote Computing,Web Tier APIs...
# 4
hi, when i am redirecting from servlet to jsp and storing the value in a session but when i am trying to retrieve it in any other jsp its giving the value as null. is something like my servlet is creating a separate session.
paridaa at 2007-7-12 17:18:58 > top of Java-index,Enterprise & Remote Computing,Web Tier APIs...