Win a copy of Functional Reactive Programming this week in the Other Languages forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

how to get data from servlet to jsp

 
Anonymous
Ranch Hand
Posts: 18944
  • Mark post as helpful
  • send pies
  • 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
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic