Win a copy of Transfer Learning for Natural Language Processing (MEAP) this week in the Artificial Intelligence and Machine Learning forum!
  • 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 ...
  • Campbell Ritchie
  • Tim Cooke
  • Paul Clapham
  • Devaka Cooray
  • Bear Bibeault
  • Junilu Lacar
  • Knute Snortum
  • Liutauras Vilda
Saloon Keepers:
  • Ron McLeod
  • Stephan van Hulst
  • Tim Moores
  • Tim Holloway
  • Piet Souris
  • salvin francis
  • Carey Brown
  • Frits Walraven

Parameter Passing

Ranch Hand
Posts: 47
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi Everyone!

I have a users regiter_servlet(a form) that upgrades the database.From there i pass control to the welcome_servlet(not a form) that extracts the users name and displays it, welcoming the new user.From this servlet i pass control to a third servlet with the help of a link in the second servlet. I want the 3rd servlet to display the user's name again.
Could anyone please tell me how I can do that.
Just for a general idea, this is how it should go:
servlet1(submit)>>>>>servlet2(link)>>>>>>servlet3(displays information submitted by servlet1 to servlet2)

Thanks a lot in advance,
Ravissant Markenday
Ranch Hand
Posts: 1090
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Read about sessions. I would suggest grab a tutorial and read about JSP's and servlets in general.
We can walk to school together. And we can both read this tiny ad:
Two software engineers solve most of the world's problems in one K&R sized book
    Bookmark Topic Watch Topic
  • New Topic