Results 1 to 2 of 2

Thread: Java/mysql/jsp

  1. #1
    Join Date
    Feb 2010
    Posts
    5
    Rep Power
    0

    Default Java/mysql/jsp

    I am developing a web vacation request application using java and jsp.

    There is a web page in the system that should allow a user to enter data in the textfields provided

    e.g. name
    role
    start date
    end date

    Once the user enters data in each of the text fields and then clicks the button 'search' the corresponding results (stored in the MySQL database) should be shown in a text area below.

    Any ideas how to do this?

  2. #2
    JosAH's Avatar
    JosAH is offline Moderator
    Join Date
    Sep 2008
    Location
    Voorschoten, the Netherlands
    Posts
    13,725
    Blog Entries
    7
    Rep Power
    21

    Default

    Quote Originally Posted by samanthamaryhorgan View Post
    I am developing a web vacation request application using java and jsp.

    There is a web page in the system that should allow a user to enter data in the textfields provided

    e.g. name
    role
    start date
    end date

    Once the user enters data in each of the text fields and then clicks the button 'search' the corresponding results (stored in the MySQL database) should be shown in a text area below.

    Any ideas how to do this?
    Yep, use Servlets for that: the form data is sent to a Servlet; the Servlet searches your database (or uses another class for that) and the results are send back to the client (or instructs a JSP to do so). Tomcat is of tremendous help here.

    kind regards,

    Jos

Similar Threads

  1. Java MySQL
    By nikosa in forum JDBC
    Replies: 13
    Last Post: 02-07-2010, 03:17 AM
  2. Java and MySQL
    By Abder-Rahman in forum JDBC
    Replies: 6
    Last Post: 04-21-2009, 10:55 AM
  3. MySQL/JDBC Mysql query output
    By thelinuxguy in forum Advanced Java
    Replies: 4
    Last Post: 02-13-2009, 02:57 AM
  4. java to mysql
    By thamizhisai in forum New To Java
    Replies: 12
    Last Post: 04-28-2008, 08:48 AM
  5. java to mysql
    By thamizhisai in forum Advanced Java
    Replies: 1
    Last Post: 04-26-2008, 09:21 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
  •