I have a maintenence module in my project where i have to Upload new User entries,new department entries and delete file entries.I have done the "Adding new user part" and "Adding new Depatment part". But i donno how to delete the exixting file entries from the database..
I also have viewing the existing user information from the database. That is I have two command buttons names Previous and next..On clicking the previous and next button the user should be able to view the information..
As im learing JAVA by myself i dont any one to guide me except for javaranch, im finding it very difficult to implement certain things which you may find simple..Pls try to help me with some ideas and preferably with sample code..If anyone have done such type of servlet programming pls help me with sample codes..
- How are you storing the file in the Database. Could you please provide the structure/relationship between user and file etc. Actually, file deletion shouldn't be a problem if you are comfortable with storing file into DB.
- You mean to say you dont know how to retrieve the next and previous records/record from DB. You can search the servlet/JSP/JDBC forums with the word "pagination". You will get a lot of post discussing the same thing.
Actually in the maintenence Screen, there are two text box depicting the USername and Password, and two command button for browsing the username and password which holds the value "Previous" and "Next".
When i press the button the corresponding action either prevous record or next record should be displayed in the Text boxes.