Welcome to the Java Programming Forums


The professional, friendly Java community. 21,500 members and growing!


The Java Programming Forums are a community of Java programmers from all around the World. Our members have a wide range of skills and they all have one thing in common: A passion to learn and code Java. We invite beginner Java programmers right through to Java professionals to post here and share your knowledge. Become a part of the community, help others, expand your knowledge of Java and enjoy talking with like minded people. Registration is quick and best of all free. We look forward to meeting you.


>> REGISTER NOW TO START POSTING


Members have full access to the forums. Advertisements are removed for registered users.

Results 1 to 2 of 2

Thread: Inter-Servlet Communication

  1. #1
    Junior Member
    Join Date
    Mar 2011
    Posts
    6
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default Inter-Servlet Communication

    I have a requirement to have one servlet call a method on another servlet and be able to pass (in order of preference) either any object, any Serializable object or any JavaBean from the caller to the callee and return same. Could you please provide suggestions on good ways to accomplish this?


  2. #2
    Junior Member
    Join Date
    May 2012
    Posts
    7
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default Re: Inter-Servlet Communication

    Quote Originally Posted by richip View Post
    I have a requirement to have one servlet call a method on another servlet and be able to pass (in order of preference) either any object, any Serializable object or any JavaBean from the caller to the callee and return same. Could you please provide suggestions on good ways to accomplish this?
    use RequestDispatcher

Similar Threads

  1. Applet-Server Communication
    By bgroenks96 in forum Java Applets
    Replies: 7
    Last Post: September 12th, 2011, 08:48 PM
  2. collecting information/moving from servlet to servlet
    By CBird in forum What's Wrong With My Code?
    Replies: 0
    Last Post: March 1st, 2011, 07:04 PM
  3. client server communication
    By Brt93yoda in forum Java Theory & Questions
    Replies: 4
    Last Post: September 2nd, 2010, 04:49 PM
  4. communication protocol
    By isaac in forum Java Networking
    Replies: 1
    Last Post: February 5th, 2010, 08:20 AM
  5. servlet applet communication
    By prashanthi_asn in forum Java Servlet
    Replies: 0
    Last Post: May 21st, 2009, 12:50 AM