|
|
|
| |||||||||
![]() |
|
|
«
Previous Thread
|
Next Thread
»
|
Thread Tools | Search this Thread | Rate Thread | Display Modes |
|
#1
|
|||
|
|||
|
Goodday all,
I really would like to be able to store and use servlet values and thus values I use in HTML (via javascript)!! Does anyone know a way to do this? There must be a better way then building a cookie in which I can store the values and then read them them out with java... Thanks! sietse ![]() |
|
#2
|
||||
|
||||
|
use the servlet to create javascript code with variables..
|
|
#3
|
|||
|
|||
|
Hi, thanks...
But my question wasn't complete. Sorry about that. I want to store (or use) the javascript variables in java again. So how can I do that? sietse |
|
#4
|
||||
|
||||
|
create a bean ... beans save states
or create session variables and throw them in there. i will go indepth a lil more later when i get time, do some reasearch on these 2 techniques. for the bean set the scope to session. |
![]() |
| Viewing: Dev Shed Forums > Programming Languages > Java Help > Storing and using servlet values in java |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|
|
|