Let me point out that it's common for a servlet to forward to a JSP. However you have chosen to redirect instead of forwarding; was that a specific requirement which somebody gave to you? If not, I'd suggest changing the servlet to forward to the JSP after it completes its work.
from a jsp redirected page to a servlet, this redirects to another jsp page, but when I click the submit button, the form deletes all data and does not redirect...
So the navigation is: index.jsp -> Parquear servlet -> reserva.jsp
1. The servlet Parquear: can you tell the configuration of the servlet in the web.xml 2. Place a debug statement in Parquear like a log or System.out.println("I am in the Parquear...") and verify the log files/console and see this debug output is appearing.
Do you see anything in your logs (for example do either of the messages in the catch blocks appear)?
If not, as Prasad says, add some logging into the servlet so you can at least see where in the code it is going, and what values it is dealing with.
The problems of the world fade way as you eat a piece of pie. This tiny ad has never known problems:
Programmatically Create PDF Using Free Spire.PDF with Java