Re: Need help in my code
- From: "polilop" <fmatosic@xxxxxxx>
- Date: Mon, 30 Oct 2006 21:27:40 +0100
try using http://struts.apache.org/
"mory2311" <mory2311@xxxxxxxxx> wrote in message
news:1162231312.836692.14600@xxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
Hi all ,
This is my first project I work in , and I need help to solve a problem
..
I have a method to insert data from JSP page ' form1' into database
then return a number ' X ' from database to another JSP page ' form2 '
.
the problem is : each time I refresh ' form2 ' the number ' X '
increase coz the servlet code excuted and invoke the methode to insert
the same data into DB then return the new value of ' X ' although some
of entered data are defined as primary key or unique fields and should
not be entered twice .
what should I do ??
.
- References:
- Need help in my code
- From: mory2311
- Need help in my code
- Prev by Date: Re: Java usercontrol?
- Next by Date: Set the input-type dynamically in IE
- Previous by thread: Re: Need help in my code
- Next by thread: Why Java's math expression (power) is so inconvenient and error prone?
- Index(es):
Relevant Pages
|