Re: S2: Forward or Redirect to same page

2008-12-10 Thread Dirk Forchel
Sébastien Domergue wrote: > > we had nearly the same problem in a project and we had to build our own > stack (which contained both action and jsp names) and when we wanted to > go back we used the stack. In the meantime I wrote my own history stack with the request URIs pushed to the stack.

Re: S2: Forward or Redirect to same page

2008-12-10 Thread Sébastien Domergue
Hi, we had nearly the same problem in a project and we had to build our own stack (which contained both action and jsp names) and when we wanted to go back we used the stack. Nevertheless, i don't think you need to keep the whole stack and you could give the jsp name as a parameter of your fo

S2: Forward or Redirect to same page

2008-12-10 Thread Dirk Forchel
I have a problem forwarding to the same page after a request is submitted by a form. This could be straightforward until this form is only on the same page. In this case I would use a "dispatcher" to forward to the appropriate JSP. But how can I forward to the "same page" if I use the same form on