IBM Worklight v5.0.5 > Develop IBM Worklight applications > Development guidelines for desktop and web environments

Write login form files for web widgets


  1. Create two files, one displaying the login form and another one displaying the form after a login error occurred.

    The files can be HTML or JSP. Both login and login error pages must be able to submit a form with the action j_security_check and have j_username and j_password parameters.

    <form method="post" action="j_security_check">
        <input type="text" name="j_username"/>
        <input type="password" name="j_password"/>
    </form>

  2. Save both files in the folder...

      Worklight_Project_Name/server/webapps/gadgets-serving


Parent Development guidelines for desktop and web environments