Originally posted by Moined Mogul:
I seem to have quite a bit of javascript within my JSP just doing simple authentication of user inputted data which will throw an alert to the user if something they entered does not meet the criteria I have defined.
I want to try and limit the business logic as much as possible within my JSP by getting rid of this javascript.
Could someone please suggest some alternative methods and give some examples of throwing something similar to a javascript alert if the user enters something that does not meet the criteria of the text box???
Thank you!
Originally posted by Sean Casey:
Hi,
This may be a basic question. Is there any way to store files as a whole in databases? Or can I just store the information stored in the files? I've got MySQL running and I want to implement a simple message board using servlets. I figured I could save each message as an html file and then store it in the database. Alternatively, I could store the files data and then convert it back to html at the other end? Any suggestions or resources would be greatly appreciated.
Thanks,
Sean