Student management covers the full lifecycle — enrollment, profile updates, group assignment, and deletion. All student records are stored in theDocumentation Index
Fetch the complete documentation index at: https://mintlify.com/LuisAMoralesA/tallerIngles-UAEMEcatepec/llms.txt
Use this file to discover all available pages before exploring further.
students table, linked to users, report, and payment tables. The student list is accessible at /view/listas/listaAlumnos.jsp and displays each student’s full name, primary phone number, whether they leave unaccompanied (¿Sale solo?), and their login username.
Inscribir un alumno
Navigate to Agregar Alumno
From the admin dashboard or the student list view, click the Agregar Alumno button (user-plus icon) at the top of the list. This navigates to
/view/add/agregarInformacion.jsp?add=1.Fill the enrollment form
Complete all required fields:
- Apellido Paterno — first surname
- Apellido Materno — second surname
- Nombre — given name(s)
- Fecha de Nacimiento — birth date in
YYYY-MM-DDformat - Teléfono — contact phone number
- Email — contact email address
- ¿Sale solo? —
SI(1) orNO(0) — indicates whether the student leaves school unaccompanied - Contraseña — must be entered twice to confirm
Submit the form
The form submits via
POST to the addStudent servlet (/tallerDeInglesUAEM/addStudent), which performs the following operations:- Converts all name fields to uppercase
- Auto-generates a username from the name and birthdate (see Nombre de usuario generado)
- Hashes the password with SHA-256 before storage
- Checks the
studentstable for a duplicate username — if found, redirects back to the list with a warning - Creates a new record in
users(role:ESTUDIANTE) - Creates a linked record in
payment(initialized with all months set tofalse) - Creates a linked record in
report(initialized with grades0.0) - Creates the final record in
studentswith all foreign keys wired together
Nombre de usuario generado
The username is constructed automatically from the student’s names and birthdate. No manual entry is required or accepted.Editar información de alumno
Two separate update operations exist to maintain a clear separation between personal data and security credentials:-
Información personal (
POST /tallerDeInglesUAEM/updateInfo): Updates personal data including name fields, phone numbers, email, birthdate,¿Sale solo?flag, and group assignment (id_teacher_student). The form is located at/view/update/actualizarInformacion.jspand is accessible from the edit icon () in the student list row. -
Credenciales de acceso (
POST /tallerDeInglesUAEM/updateUser): Updates the username and password stored in theuserstable. The new password is re-hashed with SHA-256 before being saved. The form is located at/view/update/actualizarUsuario.jspand is accessible from the key icon () in the student list row. Both password fields must match or the update is rejected.
Eliminar un alumno
Deletion is triggered by submitting the delete form in the student list row, which posts toPOST /tallerDeInglesUAEM/deleteInformation with parameters rango=s, the student’s id, and their associated user id.
The servlet performs a cascade delete in the following order:
Eliminar registro de alumno
Calls
bd.eliminarAlumno(id_student) — removes the row from the students table.Eliminar lista de pago
Calls
bd.eliminarListaDePago(id_student) — removes all monthly payment records linked to the student.Eliminar lista de calificaciones
Calls
bd.eliminarListaCalificaciones(id_student) — removes the grade report record linked to the student.Asignación a grupos
Students are not assigned directly to a group entity — instead, they are assigned to a teacher via the foreign keyid_teacher_student. Since each teacher is linked to a group, a student’s group membership is determined implicitly by their teacher assignment.
To reassign a student to a different group:
- Open the student’s edit form via the pen icon in the list.
- Select a different teacher from the Profesor asignado dropdown.
- Submit the form — the
updateInfoservlet updates only theid_teacher_studentfield on thestudentsrecord viabase.actualizarEstudiante(student).