JSP Servlet COmmunication

Discussions

Web tier: servlets, JSP, Web frameworks: JSP Servlet COmmunication

  1. JSP Servlet COmmunication (4 messages)

    Hello everybody

    I want 2 know is there any way to have communication between JSP and servlet other than sendRedirect() and forward(). how to pass some information/variables from JSP to servlet or servlet to jsp

    Thank you for your help

    Threaded Messages (4)

  2. Why?[ Go to top ]

    Why won't those two methods work? What are you trying to accomplish that disqualifies these?


    www.binaryfrost.com
  3. Why?[ Go to top ]

    there is also http://jakarta.apache.org/commons/httpclient/

    but I'd still be interested in hearing why those others won't work.

    hope that helps,


    www.binaryfrost.com
  4. URLConnection[ Go to top ]

    Use java.net.URLConnection class.
  5. JSP Servlet Communication[ Go to top ]

    I'm not sure if I got your question right.
    Are you talking about pasing information / parameters between jsp and servlets?
    if that's the case, check request and session