Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions loyalty/src/main/webapp/jsp/config.jsp
Original file line number Diff line number Diff line change
Expand Up @@ -70,6 +70,7 @@
//
// close the DB first
st.close();
conn.close();
} catch (Exception e)
{
// not a very good practice to print out error in webpage....
Expand Down
1 change: 1 addition & 0 deletions loyalty/src/main/webapp/jsp/confirm.jsp
Original file line number Diff line number Diff line change
Expand Up @@ -101,6 +101,7 @@

// close the DB first
st.close();
conn.close();
// This is the most tricky party
//
// To send notification to MCS
Expand Down
2 changes: 2 additions & 0 deletions loyalty/src/main/webapp/jsp/custsearch.jsp
Original file line number Diff line number Diff line change
Expand Up @@ -42,6 +42,7 @@
}
// again, we should close DB connection
st.close();
conn.close();
} catch (Exception e)
{ // same as welcome.jsp - to-do to put error message to backend
out.println("Exception : " + e.getMessage() + "");
Expand Down Expand Up @@ -86,6 +87,7 @@
out.println(">" + prod + "</option>");
}
st.close();
conn.close();
} catch (Exception e)
{
out.println("Exception : " + e.getMessage() + "");
Expand Down
1 change: 1 addition & 0 deletions loyalty/src/main/webapp/jsp/mbeconfirm.jsp
Original file line number Diff line number Diff line change
Expand Up @@ -59,6 +59,7 @@

// close the DB first
st.close();
conn.close();
// This is the most tricky party
//
// To send notification to MCS
Expand Down
1 change: 1 addition & 0 deletions loyalty/src/main/webapp/jsp/welcome.jsp
Original file line number Diff line number Diff line change
Expand Up @@ -113,6 +113,7 @@
}
// always remember close DB connection
st.close();
conn.close();
} catch (Exception e)
{
// not a very good practice to print out error in webpage....
Expand Down