%@ page errorPage="/misc/error.jsp" import="org.rvs.web.user.User, org.rvs.web.servlets.ServletConstants, org.rvs.web.misc.ProcessingException, org.rvs.web.user.Field, org.rvs.web.user.Preferences, org.rvs.web.user.Protection"%> <% boolean isAdd= false; User user = (User) request.getAttribute(ServletConstants.USER_KEY); String editType = (String) request.getAttribute(ServletConstants.USER_EDIT_TYPE_KEY); if (editType != null) { if (editType.equalsIgnoreCase("update")) isAdd = false; else isAdd = true; } else { if (user == null) { isAdd = true; user = new User(); } } if (user == null) throw new ProcessingException("user edit jsp: user is null for editType: " + editType); String action = ""; String submitValue = ""; String title = ""; String p = ""; String pReqd = "*"; String pInst = ""; if (isAdd) { action = "addUser"; submitValue = "Register Data"; title = "Sign Up"; p = "Password"; pReqd = "*"; pInst = "A password is required."; } else { action = "updateUser"; submitValue = "Update Data"; title = "Update Your Data"; p = "New Password"; pReqd = ""; pInst = "You can leave this field empty if you want your old password to remain in effect."; } %>
Use this form to register information about yourself.
As part of registration, a login id and password will be created for you. This will allow you access to protected sections of this website. <% } else { %> Use this form to modify your registration details. <% } %>
Certain portions of your registered data will be viewable via the Directory Search page. You can control
what is shown and what is not.
Please note:
~General instructions (move mouse here).
~Data privacy (move mouse here).
Thank you.