I try a sample with struts1.3.10+EJB3+Glassfish3+Netbeans6.8 which can insert user in database,
show all users,delete and edit user correctly but when I add validation to userForm,
validation works correctly but link of edit user makes an error :
in which "allUsersForm" is a form used in showAllUsers.jsp, showAllUsers(in action) and userForm has used in showOneUser in action to load in edit.jsp for edditing .
I changed scope="request" to scope="session" in struts-config.xml but when cliking on edit link
it makes no change and return to the same page(showAllUsers.jsp).
please send if anybody has any iead.
thank in advance.
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE struts-config PUBLIC
"-//Apache Software Foundation//DTD Struts Configuration 1.3//EN"