make sure you arent writing any headers or html code on the page you are doing the response.sendredirect. also try somthing like this to redirect
<jsp:forward page = "http://www.website.com" />
Hope that helps
Hello all,
I am doing a response.sendRedirect after I close the connection to my database however the connection is failing to close. Here is the code ...
int rowsAffected=sql_stmt.executeUpdate (myQuery);
sql_stmt.close();
myConn.close();
if (rowsAffected==1)
{
response.sendRedirect...
Hello,
I posted this about an hour ago but I haven't see it come up on the board so I am reposting in case i made a mistake. I apologize in advance if I am reposting. Here goes
I have a table that contains 3 fields. Type (a type of labor performed), amount (dollar value), and invoice number...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.