Overview Product Tour Installation Registration FAQs |
1. Validate.javaThere are currently 2 versions of this program. Follow the steps here if you need to customize your own user validation.2. DownloadDownload from the links in step 1 and rename the program as Validate.java.Move Validate.java to the same directory as Validate.class. 3. CustomisebasePath method of Validate.java check the userid and password supplied as parameters. If the validation is successful, the user directory is return as string.Null is returned when validation fails. You cannot alter basePath method signature because it is called from DivertServlet.class. 4. Compile[root@web /classes]# javac Validate.java 5. DivertServlet.propertiesEdit DivertServlet.properties according to your changes.5. Restart Java based WebserverRestart is necessary to reload Validate.class. |