May 2001
Intermediate to advanced
1088 pages
30h 13m
English
| Q1: | I clicked the Submit button, but the form won't load. |
| Aside from the obvious spelling errors in the action attribute of the <FORM>, you must also make sure that the capitalization action attribute matches the name of the form JSP. Even if you are running under Windows, Java is case sensitive, so you can run into problems if you try to invoke a JSP using capitalization that is different from the actual filename. | |
| Q2: | My form variable values are null. |
| Usually the reason you can't get the value of a form variable is because the name of the variable in the form doesn't exactly match the name you use in the getParameter method, either because of a spelling difference or a capitalization difference. |
Read now
Unlock full access