Wednesday, December 14, 2005

Default Login Form

FORM action = "so" method = "post">
Name: INPUT type = "text" name = "username" />
Password: INPUT type = "password" name = "password" />
INPUT type = "submit" value = "submit" />
/FORM>


Either action attribute has to be fully qualified name including the application name and path (or) only path without any slash at the beginning.

Correct.
1. action="/ApplicationName/so"
2. action="so"
3. action="so/someExtraPath"

InCorrect
1. action="/so"

0 Comments:

Post a Comment

<< Home