-
JSP Problem
I'm a beginner... I have a simple web application using JSP, Tomcat and MYSQL. My Application is like simple form that input student name to insert into database. then i post the data to one servlet.. that will do the inserting... after insert my servlet will query all student name from database and set attribute as an object. Then, using Request Dispatcher i forward to a jsp page that will display all the student name by querying the object that been set in the servlet. The problem is.. when i refresh the display all student name page, it will redo the inserting process making the student name to be duplicate.. how do i avoid this kind of thing ?
Similar Threads
-
Replies: 0
Last Post: 04-07-2005, 03:40 AM
-
Replies: 0
Last Post: 10-30-2002, 04:40 AM
-
Replies: 1
Last Post: 04-23-2001, 11:51 PM
-
Replies: 6
Last Post: 03-02-2001, 02:42 PM
-
Replies: 0
Last Post: 11-15-2000, 09:16 PM
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
Forum Rules
|
Top DevX Stories
Easy Web Services with SQL Server 2005 HTTP Endpoints
JavaOne 2005: Java Platform Roadmap Focuses on Ease of Development, Sun Focuses on the "Free" in F.O.S.S.
Wed Yourself to UML with the Power of Associations
Microsoft to Add AJAX Capabilities to ASP.NET
IBM's Cloudscape Versus MySQL
|
Bookmarks