The logon and change password pages

A logon.jsp file and a changePassword.jsp file are copied into the WebContent folder in your Web project the first time you run the Web Interaction wizard. A WebIntLogonMessages.properties file is also copied into the Java Resources folder in your Web project.

The files are only used if you select the Prompt for user ID and password option in the iSeries Web Tools Run-time Configuration wizard. When you run the application, the logon page opens and must be completed before the initial page of the Web application is displayed and to enable the connection to the iSeries host.

You can change the text associated with the error messages in the WebIntLogonMessages.properties file. However, take care that you do not delete any entries in the file or modify any of the message keys.

For example, one of the entries in the file is:
PASSWORD_INCORRECT=<LI>The password is not correct.</LI>
The message key in this example is PASSWORD_INCORRECT, and it must not be changed or deleted. However, you can change the text The password is not correct if you want a different message to appear when the user enters an incorrect password.
You can also change the text for the labels in the logon.jsp or the changePassword.jsp files by editing the ApplicationResources.properties file. (The file is in the .resources file for the project within the Java Resources folder.) For example, the description preceding the password field on the page, Password :, is defined in the file as:
webint.password=Password :
The value key in this example is webint.password, and it must not be changed or deleted. However, you can change the text Password : if you want a different description for the password field.
Note: If you change any values in the WebIntLogonMessages.properties file or in the ApplicationResource.properties file after running the application in the WebSphere test environment, you need to restart your Web project before the new values are applied. To do this, click the Servers tab, right click the test server name you are using, select Restart Project > nnnEAR, where nnnEAR is the EAR file name for your Web project.