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
What is hash Map

The game of Kala is played on a rectangular board: In front of each player are six pits numbered 1 to 6 (called the 'side pits'). To the right of a player's side pits is a

What type of information can be stored in a database? In a database we can store several types of informations like: • Numbers, Booleans, text • Sounds • Images • Video

Describe The ? operator in Java langauge? The conditional operator just works for assigning a value to a variable, using a value within a method invocation, or in a few other w

Explain the Coordinate System? Java uses the standard, two-dimensional, computer graphics coordinate system. The first visible pixel in the upper left-hand corner of the applet

Give the example of mixing data type in java? Mixing Data Types Order can form a difference while data types are mixed. For example, 1 / 2 * 3.5 = 0.0 3.5 * 1 / 2 = 1.75 3.5 /

Objectives 1.      To design and implement a simple class. 2.      To write a test program to create instances of your class and demonstrate its behaviour. 3.      To col

You want the base class to represent only an interface for its derived classes. That means, you don't want anyone to actually instantiate an object of the parent class. You only

how to write method overriding and example programe

#include float start_point, /* GLOBAL VARIABLES */ end_point, total_area; int numtraps; main( ) { void input( void );