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 best algorithm? Greedy algorithm is the best algorithm as it is n algorithm in which always takes the best immediate, or local solution although searching an answer.

How many ways are there to call a function in a program? Explain with example? Two Ways of Calling Functions: Functions do not run automatically. While the page loads, every

Question 1 What are the different types of data types in java? Question 2 Write a note on Operator Precedence Question 3 Write a note on Random access files

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

Write a Java program in a NetBeans project that reads a text file containing the names and addresses of several people and displays them all at once or one at a time upon selecting

Use a while loop to count down from 100 and display all the numbers in the * following pattern (you have to figure out what the pattern is - don''t go below 0): * 100 99 97 94

Fill in the necessary parts to create a GUI that uses the CardDeck class.  In your GUI you should have a text field for each hand, two buttons and a text area.   Your program s

What is "My Personal Agent"? My personal agent is a computer programme which work automatically and have voice interface.

GPS and GPRS fleet management system Project Description: I want to develop fleet management system Skills required: HTML, PHP, Java, Website Design

Draw: loops through the list of cards drawing them in a single row starting from the screen position referred to by the 'x' and 'y' fields of the Hand class. You can limit the numb