How to enable or disable a row of a table using MySQL in
struts?



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

Post New Answer

More MySQL Interview Questions

How does triggers work in mysql?

1 Answers  


How to insert dynamic values in mysql using php?

1 Answers  


What is the purpose of using a heap table?

1 Answers  


How to use in conditions?

1 Answers  


What is the maximum connection pool size?

1 Answers  


What is row locking in mysql?

1 Answers  


What is new mysqli?

1 Answers  


What is mysql community edition?

1 Answers  


How do I change a procedure in mysql?

1 Answers  


is it possible to assign two primary key in a table

8 Answers   IBM,


How do I exit mysql?

1 Answers  


How to find second highest salary from a table?

1 Answers  


Categories