Results 1 to 3 of 3
  1. #1
    dalu is offline Member
    Join Date
    Mar 2011
    Posts
    23
    Rep Power
    0

    Question How to send data from servlet to JSP

    I am a newbie to Java Web based application and am currently experimenting with JSP and Servlets. I have a servlet from which I have to send a variable value of type String to a JSP page where I will be displaying the string. How to achieve this?

  2. #2
    dswastik is offline Senior Member
    Join Date
    Dec 2008
    Location
    Kolkata
    Posts
    283
    Rep Power
    6

    Default Re: How to send data from servlet to JSP

    set the value in request object in servlet and get it from request object in jsp.
    Swastik

  3. #3
    Anveshan is offline Member
    Join Date
    May 2011
    Posts
    24
    Rep Power
    0

    Default Re: How to send data from servlet to JSP

    set them in cookies, request ir session objects and retrieve them in jsp

Similar Threads

  1. How to send data to webserive
    By rajan701v in forum Android
    Replies: 2
    Last Post: 06-19-2011, 07:37 PM
  2. Send error message from servlet to jsp
    By karq in forum Java Servlet
    Replies: 4
    Last Post: 07-02-2010, 11:07 AM
  3. how to send values from servlet..
    By hussainzim in forum Java Servlet
    Replies: 1
    Last Post: 08-06-2008, 08:28 AM
  4. Replies: 1
    Last Post: 01-28-2008, 11:49 AM
  5. Replies: 0
    Last Post: 01-27-2008, 09:17 PM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •