Create a jsp code to built an application, JAVA Programming

What is required to be done from my programming is : I enter name,day(saturady or sunday),time( 10AM and 10PM) My program must then vaildate name,day and time.

Name must only accept Characters

No numbers and change the first letter of the word to upper case

Day
No spaces
No symbols

E-mail
No spaces

Cellphone
No spaces
Only numbers

Time
Will only accept from 10AM to 10PM
And depending on the time will either select Morning activties or Afternoon activties from the array.

Upon clicking the submit button Jsp will validate the code and prompt the user to correct the respective firlds.

Morning Activities" and "Afternoon Activities". Then, according to the time entered by the user, the JSP code will randomly generate an activity or somewhere to visit from the 6 possible activities to fit in the right time frame, for example if the user has selected a time to be at 10:00am then a randomly selected morning activity would be visit "Bunjee jumping" or if the user has selected the time to be at 14:00 then a randomly selected activity would be "lunch on barbecue".

Posted Date: 3/22/2013 2:51:29 AM | Location : United States







Related Discussions:- Create a jsp code to built an application, Assignment Help, Ask Question on Create a jsp code to built an application, Get Answer, Expert's Help, Create a jsp code to built an application Discussions

Write discussion on Create a jsp code to built an application
Your posts are moderated
Related Questions
EJBs are distributed elements, which need the RMI framework for object distribution. An EJB application server gives more services like object pooling, transaction management, data

do you have example of a simple midlet game ?


Java Remote Method Invocation (RMI): It gives a way for a Java program on one machine to interact with objects residing in different JVMs. The important blocks of the RMI arc

Data integrity helps to make sure if something is communicate and not tampered with in the mean while when transmission take place. Checksums: Simply inserts the bytes withi



Relate java with JVM Java performance gets better each year as JVM gets smarter. This works, since making JVM smarter doesn't require any great change to the java language, sou


Suppose we have a big project. Draw hierarchy of the people involved in the project? Executive Team CEO, COO, CMSO Quality Architecture Team Business Development Team Technolog