I am very new to this. I'm doing a course and need some help please. I'm new to coderanch too, so if I'm doing things wrong please tell me.
I've got a
jsp that displays the contents of a mySQL database table. I have to add an edit button to the beginning of each record, which will open a new jsp that will allow edit / delete/ update to the database.
I've managed to get the data to display, and I've added the edit button (not sure if it's the best way but it does open the next jsp). What do I use on the next jsp to allow me to edit the data.
Weclome.jsp - I have a <jsp:usebean> for categoriesBeanData
TestServlet takes the hidden fields from the form, connects to the database and gets a resultset of one row.
It then does request.setAttribute for each column and does a forward to EditCategories.jsp
How do I display the data in EditCategories.jsp so that it can be editied? If I put it in a html table it not editable..
EditCategories.jsp
Any suggestions would be really welcome, as I feel like I'm not getting anywhere with this...