The above does not work (and you can probably tell that am new to jsp). lname is the attribute that I want to display the error message, obviously above the lastName text box. The problem I am having is that I dont know how to stucture the if (if-else) statements.
JavaRanch is a community of people from all over the world, many of who are not native English speakers. While using abbreviations like "u" instead of spelling out "you" is convenient when text messaging your friends on a cell phone or in a chat room, it presents an extra challenge to those that are already struggling with English. Additionally, such shortcuts may confound automated translation tools that patrons of the Ranch may be making use of.
I would like to ask for your help in making the content of JavaRanch a little easier to read for everybody that visits here by not using such abbreviations.
If, by this, you mean that by performing validation on the client you can forgoe server-side validation (to make server-side processing faster), then this is very poor advice indeed.