|
|
|||||||||
|
|||||||||
| |||||||||
|
|
|
| |||||||||
![]() |
|
|
«
Previous Thread
|
Next Thread
»
|
Thread Tools | Search this Thread | Rate Thread | Display Modes |
|
#1
|
|||
|
|||
|
How to pass Object of Arraylist across sevral pages?
Hello,
I am developing an application using jsp/servlets where my servlets for business logic and jsp for view which will generate wml pages. Now i have an object of arraylist in my servlet which i need to pass to jsp page. For that i am using request.setParameter("Name",objOFArraylist), and i am getting the same arralist object in my jsp page but how i can pass the same object to next servlets. One option is use of session but many wml enable phones do not support sessions. So plz help me out how to pass object across application. Thanks in advance, Vimal |
|
#2
|
||||
|
||||
|
Rather then storing the session in a cookie, store it on the server, then pass the session ID through GET or POST.
I don't know if JSP does that, I use PHP, and it works like a charm. |
|
#3
|
|||
|
|||
|
Hello,
Here i is sample jsp page. Quote:
Here in above example i am puting object FavItemData in session but i want to avoid use of session then how to send the same object in next servlet. ------- Vimal |
![]() |
| Viewing: Dev Shed Forums > Programming Languages - More > Mobile Programming > How to pass Object of Arraylist across sevral pages? |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|
|
|