• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Paul Clapham
  • Ron McLeod
  • Bear Bibeault
  • Liutauras Vilda
Sheriffs:
  • Jeanne Boyarsky
  • Tim Cooke
  • Junilu Lacar
Saloon Keepers:
  • Tim Moores
  • Tim Holloway
  • Stephan van Hulst
  • Jj Roberts
  • Carey Brown
Bartenders:
  • salvin francis
  • Frits Walraven
  • Piet Souris

how to get data from servlet to jsp

 
Ranch Hand
Posts: 18944
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
hi,
i am having first jsp page in which user login's if the user present in the database it goes to second jsp page. in middle to check i am using servlet.. it is working but i want to retrieve the user id to the second jsp page..from servlet. i know by using bean we can store data in the first jsp page and send to second jsp page through servlet. but i am new to this field.
pls help me in doing this. pls send me sample code of bean, calling that bean in first jsp, then into servlet and finally displaying it in second jsp..
thank you
vk
reply
    Bookmark Topic Watch Topic
  • New Topic