This week's book giveaway is in the OCAJP 8 forum. We're giving away four copies of OCA Java SE 8 Programmer I Study Guide and have Edward Finegan & Robert Liguori on-line! See this thread for details.
Well thats what I would like to do. I have various web forms and I want to send an error message in the footer of each page for every field that is null or empty.
I can do with no problem for one form? but I would like to reuse this servlet for different web forms which will identify each field that is null and send an error message back? but my problem is that each web form are not the same?? One might have more fields than others. I was thinking in put the error messages for each web form in the txt file!
Then I thought in creating an array to read the parameter names in the forms and check to see which one is null then read the error messages for the correspondent web form and field to send back the error messages in the txt file to the footer.
So how do I do it?? I know I have to create an InputStream to read the line but How do I check the error messages in the txt file for the right web form??
I hope you guys can understand what I want??
Any help please or does anyone knows where I can see somewhere almost the same??
Joined: May 23, 2004
Did anyone understood what i want or not?? Any help please??