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
The report: Your report must describe the requirements of the application, outline the design of the solution, and provide a testing procedure to prove the application works. In yo

A framework for building server-side user interfaces for Web applications is written in the Java programming language.

Explain final fields ? You may also declare fields to be final. This is not the similar thing as declaring a method or class to be final. While a field is declared final, it is

What is Externalizable interface? Externalizable is an interface which have two methods readExternal and writeExternal. These methods give you a control over the serialization

java HW should be written with javadoc comment formatted

This module is gives the fundamental functionality of the spring framework. In this module BeanFactory is the heart of any spring-based application. The whole framework was built o

Explain the char data type in java? A char is a single character in which a letter, a digit, a punctuation mark, a tab, a space or something same. A char literal is a single on

How to write a program that converts US dollars into Canadian dollars.The program let the user enter an amount in US dollars and display it equivalent value in Canadian dollars whe

What is difference between time slicing and preemptive scheduling? Differences between preemptive and time scheduling are: In case of Preemptive scheduling the highest prior

What does the exportObject of UnicastRemoteObject do? Ans) Exports the remote object to make it available to receive incoming calls, using the certain supplied port. If port not