|
sessions in jsp-part2
|
|
12-13-2011, 12:19 AM
Post: #1
|
|||
|
|||
|
After setting session &;t;%session.setAttribute("name",name)%> where name is the value we get from any text box or predefined. For getting sessions as a string you have to "typecast" it means one object reference can be covert to another reference. So we must convert session object to string by following method below String temp=(String)session.getAttribute("name"); Now we can use this session in our query or display name whatsoever enjoy happy coding any doubt ask us. |
|||
Advertise here or at any positions around our site send a mail to info@walkinsforum.com
|
« Next Oldest | Next Newest »
|
![]() |
|||||||
![]() |
![]() |
![]() |
![]() |
![]() |
![]() |
![]() |
|
| Possibly Related Threads... | |||||
| Thread: | Author | Replies | Views: | Last Post | |
| sessions in jsp | rajasri | 1 | 207 |
01-12-2012 05:25 PM Last Post: pawan |
|
User(s) browsing this thread: 1 Guest(s)






![[-]](images/royal_red/collapse.gif)






