Skip to main content

Posts

Showing posts with the label POST Method

Ajax Form Submit GET/POST Methods

This example explains GET and POST methods of form submit using AJAX. Only code is posted for now, will try to update it later some time. Complete example can be downloaded using the link at the end of the post. package com.rakesh.ex.dto; public class EmployeeDTO {     private String empId;     private String name, email;     private String designation, department;     public EmployeeDTO(String empId) {         this.empId = empId;     }     public String getEmpId() {         return empId;     }     public void setEmpId(String empId) {         this.empId = empId;     }     public String getName() {         return name;     }     public void setName(String name) { ...