Re: dbproblem

2007-05-04 Thread Mike Baroukh
> I would guess you're either redirecting to the wrong > place or there is an exception preventing normal > completion. > I bet that the view use a form in request scope. So, on redirect it is lost ... You have to redirect to a view that take in parameter somting like an object id an place it i

Re: dbproblem

2007-05-04 Thread Dave Newton
--- jalal udeen <[EMAIL PROTECTED]> wrote: > i have used also redirect. when i use redirect i could > not find anything i the page that page displayed as > white empty I would guess you're either redirecting to the wrong place or there is an exception preventing normal completion. Normally I wo

Re: dbproblem

2007-05-04 Thread jalal udeen
Hi all i have used also redirect. when i use redirect i could not find anything i the page that page displayed as white empty thanks jalaludeen.h

Re: dbproblem

2007-05-04 Thread Dave Newton
--- jalal udeen <[EMAIL PROTECTED]> wrote: > the problem is when i refresh the testpage .jsp the > values registered again inserted into the Database > what will be problem wat is way to clear it Either post-redirect-get or tokens. I'll let someone else answer the pagination question; I wasn

Re: dbproblem

2007-05-04 Thread Antonio Petrelli
2007/5/4, jalal udeen <[EMAIL PROTECTED]>: the problem is when i refresh the testpage .jsp the values registered again inserted into the Database If I understood you well, this is the tipical problem of the "double submit". To solve it, you should use the "redirect after post" pattern: http://

Re: dbproblem

2007-05-04 Thread Mike Baroukh
Hi. Maybe with a redirect to your view, not only a forward. The best is to use javascript : with document.location.replace(view), the user will not be able to make "bak" the post ... Mike jalal udeen a écrit : hi im developing a application using struts in this there is a module cal

dbproblem

2007-05-04 Thread jalal udeen
hi im developing a application using struts in this there is a module call candidate here the candidate has to register his data after his registration that will be forwarded to test page .jsp the problem is when i refresh the testpage .jsp the values registered again inserted into th