Results 1 to 2 of 2
  1. #1
    Join Date
    Nov 2013
    Posts
    1
    Rep Power
    0

    Default In My Front page call the Database values through servlet and send a value to servlet

    I need to send a particular values from jsp to servlet..
    int id;
    while(rs.next()){
    id=rs.getInt("id"); // I need to send this value to servlet
    }

  2. #2
    gimbal2 is offline Just a guy
    Join Date
    Jun 2013
    Location
    Netherlands
    Posts
    4,050
    Rep Power
    6

    Default Re: In My Front page call the Database values through servlet and send a value to ser

    This is just totally backwards. Normally you'd want to send something from a servlet to a JSP. Your thread topic (servlet, servlet) also doesn't match the body of the question (JSP, servlet). Please explain your problem in more detail and make sure the information is correct.
    "Syntactic sugar causes cancer of the semicolon." -- Alan Perlis

Similar Threads

  1. how to call servlet from the very first jsp page
    By R O C K Y in forum Advanced Java
    Replies: 6
    Last Post: 07-04-2012, 04:20 PM
  2. How to send data from servlet to JSP
    By dalu in forum Java Servlet
    Replies: 2
    Last Post: 10-21-2011, 09:39 AM
  3. entering servlet form values into database
    By mallikanala in forum New To Java
    Replies: 2
    Last Post: 06-20-2011, 11:25 AM
  4. call servlet result page in frameset
    By reubenmk in forum Java Servlet
    Replies: 0
    Last Post: 08-05-2010, 09:44 AM
  5. how to send values from servlet..
    By hussainzim in forum Java Servlet
    Replies: 1
    Last Post: 08-06-2008, 07:28 AM

Posting Permissions

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