How to enable or disable a row of a table using MySQL in
struts?
Answer / Nilesh Kumar Pandey
Enabling or disabling rows of a table in MySQL using Struts requires server-side code. Here's an example using JSP and Java Servlets:n
1. Create a servlet that handles the request to enable/disable the row.
2. Query the database to find the specific row you want to modify.
3. Update the appropriate column in the table, such as setting a flag indicating whether the row is enabled or disabled.
4. Redisplay the table with the updated data.
| Is This Answer Correct ? | 0 Yes | 0 No |
How does triggers work in mysql?
How to insert dynamic values in mysql using php?
What is the purpose of using a heap table?
How to use in conditions?
What is the maximum connection pool size?
What is row locking in mysql?
What is new mysqli?
What is mysql community edition?
How do I change a procedure in mysql?
is it possible to assign two primary key in a table
How do I exit mysql?
How to find second highest salary from a table?
Oracle (3253)
SQL Server (4518)
MS Access (429)
MySQL (1402)
Postgre (483)
Sybase (267)
DB Architecture (141)
DB Administration (291)
DB Development (113)
SQL PLSQL (3330)
MongoDB (502)
IBM Informix (50)
Neo4j (82)
InfluxDB (0)
Apache CouchDB (44)
Firebird (5)
Database Management (1411)
Databases AllOther (288)