• 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 Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

Inter-Servlet communication

 
Greenhorn
Posts: 1
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hi,

How can we enable communication between a single thread model servlet and user defined servlet ?

can anyone suggest me any useful resources or references for this.....


Thanks,
yas
 
Ranch Hand
Posts: 1514
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Not sure I understand you correctly, but you may want to check out the RequestDispather object.
 
Ranch Hand
Posts: 783
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Yas,

First and foremost, welcome to JavaRanch. Please change your name to conform with the JavaRanch Naming Policy.

Second, you should not be using the single thread model anymore. It has been depreciated. (And in my opinion, was never very useful anyway - although some notable people in this forum usually disagree with me )

Lastly, the previous poster was correct. You can use the RequestDispatcher to forward the request onto another servler, or temporarily hand off control to another servlet via include.
 
reply
    Bookmark Topic Watch Topic
  • New Topic