-
Junior Member
Programming using java, javascript, frontpage
I am new to Java programming and wanted to know the following...
I want to create the front end using Frontpage as its cleaner and easier to do. I want to do the form validation using Javascript and send the data to the server to be stored in a database using JDBC. I am not sure how to do this and what needs to be done...How is it done in live or in actual project scenario...If you can please point me in the right direction I would really be grateful.
-
Contributing Member
Re: Programming using java, javascript, frontpage
Hi Patkar456,
From what you are saying what I understand is
1. You will need an Html file that will be your front end.
2. This HTML file will contain the Javascript.
3. On the submit action you will be calling a servlet that will take the data from the HTML file and store this in the DB.
Go through any book that provides a reference of servlet programming in Java. It will basically tell you everything you want.
The above way is one of the simplest and the most basic ways of doing it.
Further on you could replace the HTML with a JSP and also use the MVC(Model-View-Controller) pattern.
Since live projects are much bigger they use frameworks such as Struts, EJB, Hibernate to do the same. They increase the initial complexity, but decrease the maintenance required.
Regards,
Sahil.
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules