I need a jsp program that is able to validate an html form that has the
following fields: name, address, zip code, social security number,
DOB, and mother?s maiden name
All I care for is that the user actually inputs the data and if I
should expect text the user inputs text versus numbers or vice versa.
I would like the code to be as simple as possible nothing fancy
please. I want to be able to understand it.
I know it can be done easier with other languages but I need it to be
written in JSP.
Do not publish the code here. |
Request for Question Clarification by
passive-ga
on
17 May 2004 07:54 PDT
What are you using for JSP?
I only ask because some application servers(such as weblogic) provide
built-in form validation capabilities, and it might be more
straightforward to use those if they are available to you.
Beyond that, are you looking for something custom written, or do you
simply want general instruction in how to implement this?
|
Clarification of Question by
stevepr-ga
on
17 May 2004 17:51 PDT
Thanks for aksing I guess I dint explain my self at all.
I need something custom written. I am ussing apache Tomcat on windows
so what ever is written has to be able to run on Tomcat. This is how
my directory looks like ( C:\jakarta-tomcat-5.0.24\webapps\ROOT ) I am
not sure if you need to make reference to this in an action= command?
One more kicker I need this code by wednesday evening May 19, 2004 I
hope this is simple enough that somebody can make this real quick and
easy.
|
Request for Question Clarification by
passive-ga
on
18 May 2004 07:56 PDT
I'm uncertain how you would like the code delivered to you, if you
want something custom, but don't want it posted here.
Also, do you want the form itself created, or just the processing code?
As a note, it might not be wise to get form processing logic from an
anonymous source when you are handling sensitive data like SSN.
|