alright so here are my 2 servlets. my login page is suppossed to redirect to the mynotes page after a successsful login. I use useresponse.sendRedirect("/Homework2/MyNotes"); in my login page at the bottom to try and accomplish that , but it doesnt work. my guess was because these belong to 2 different packages. which is homework1 and homework2. so my question is how can I map it so that my login page directs the user to the mynotes page? If i put Mynotes in my homework1 package , it works perfectly , so It has to be because its 2 different packages. but i have no idea how to make it work.
also , the error i get is HTTP Status 404 - /cs320stu38/Homework1/MyNotes
which means its still sending to the homework1 package , how can i change it so that its the homework2 package?