how to show effect (visual) on jsp page using value from database
I am making a ticket booking system.
I have a databse with a clumn "booking status"
I am thinking to use a map of seats ( with pictures controllers as seats)
What i want is when the value in booking status is "booked" then the pictures shown as seats should be displayed red.
when the value in booking status is "not_booked" then the picture shown as seat should be displayed red.
Also i dont know how i can implement multiple selection of pictures in case cutomer want to book multiple seats ,
Please help .
View Answers
Ads
Related Tutorials/Questions & Answers:
Advertisements
How to show data from database in textbox in jsp
How to
show data
from database in textbox in
jsp How to
show data
from database in textbox in
jsp
Here is an example that retrieve the particular record
from the
database and display it in textbox
using JSP.
<
how to insert checkbox value into database using jsp
how to insert checkbox
value into
database using jsp
How to insert check box
value to the oracle
database using jsp?
I want to create hotel's...=conn.createStatement();
ResultSet rs=statement.executeQuery("SELECT NVL(MAX(PACK_ID),0) + 1
FROM
how to insert checkbox value into database using jsp
how to insert checkbox
value into
database using jsp
How to insert check box
value to the oracle
database using jsp?
I want to create hotel's...();
ResultSet rs=statement.executeQuery("SELECT NVL(MAX(PACK_ID),0) + 1
FROM PACKAGE
How to pass the value from controller to jsp page ?
How to pass the
value from controller to
jsp page ? HI
I need to pass the
value from controller to
jsp.
I use the way like this
Controller
request.setAttribute("msg", "Successfully Login");
In
jsp
${msg}
and then i
how to display values from database into table using jsp
how to display values
from database into table
using jsp I want to display values
from database into table based on condition in query,
how... to display books based on either bookname or authorname, for this i created one
jsp page
How to get data from Oracle database using JSP
How to get data
from Oracle
database using JSP hello i have a simple problem in
jsp in the sense to get data
from the
database like oracle . I have... the answer to retrieve data
from the
database by
using servlet or
jsp program
how to check username & password from database using jsp
how to check username & password
from database using jsp Hello,
I have created 1 html
page which contain username, password & submit button.
in my oracle10G
database already contain table name admin which has name, password
How we delete a data of database from front end jsp page
How we delete a data of
database from front end
jsp page I make a website and featch a data
from data base and now i want that a delete button put... deleted
from jsp page as well as
from database.I used mysql and
jsp. Please help me