Online Training Spring Hibernate Training in Delhi R Programming Training Course Big Data and Hadoop Training Java Training  

ajax in java



Share on Google+Share on Google+

Tarunkanti Kar
ajax in java
1 Answer(s)      8 years ago
Posted in : JSP-Servlet
View Answers

December 11, 2008 at 1:55 AM

Hi friend,

Do some changes to convert in JSP page and remember some points :

1. replace the code
var url = "login.php?username=" + username + "&password=" +password ;

with :

var url = "login.jsp?username=" + username + "&password=" +password ;

2.Save the file "login.jsp" instead of "login.php"
String username=request.getParamter("username");
String password=request.getParamter("password");

if(username.equals("admin") && password.equals("admin")){


Related Tutorials/Questions & Answers:
ajax in java - Ajax
ajax in java  Dear deepak sir, My page contain several control... will come "Caseno exist" Sir I am using Ajax first-time.Please help me.   Hi friend, Ajax : Asynchronous JavaScript and XML or Ajax for short
java - Ajax
java  Sir, What is Ajax?  Hi Friend, Asynchronous JavaScript and XML or Ajax for short is new web development technique used for the development of website. Ajax helps you in making your web application more
java Ajax
java Ajax   Connection con = null; Statement stmt = null; ResultSet rs=null; PrintWriter out = response.getWriter(); ArrayList<ArrayList> a=new ArrayList(); try
java script - Ajax
java script  i know basic of java script. i want to gain more knowledge in java script. please send a link or guidelines to me. and ajax also my... in their browsers. Ajax : Asynchronous JavaScript and XML or Ajax for short
ajax - Java Beginners
ajax  i would like to include ajax method. how can i write the code in javascript for ajax
Java with Grid - Ajax
Java with Grid  please check this URL grid on above link is made in dotnet. i want to make [b]same UI[/b] as in Java. which
ajax database in opentaps - Java Beginners
ajax database in opentaps  Hi, Here I am facing problem in implementing ajax in opentaps.I want to create a drop down menu using ajax in opentaps.And I want to access the values from database using ajax in java(opentaps).So
ajax and servlet - Java Beginners
ajax and servlet  Pls do this favour... How can we chat with 2computers using ajax programing and servlets when internet is connected
Ajax - Ajax
Ajax  What is Ajax ? How one can use ajax with Java
Backbase AJAX Java Edition
Backbase AJAX Java Edition       With the Backbase AJAX Java Edition you can quickly build attractive AJAX applications with JavaServer Faces (JSF). Backbase takes care of all the AJAX
Ajax  send the example to fetch the data from the server by using ajax in java. for ex:-if there are states which is used to display in frontend we use ajax. send it to me
ajax in java - JSP-Servlet
ajax in java  The below code is for a php page but I want this in JSP page. function postRequest(strURL){ var xmlHttp; if(window.XMLHttpRequest){ // For Mozilla, Safari, ... var xmlHttp = new XMLHttpRequest
java script - Ajax
java script  I have a java script function and getting "pitems" list values in select, and i want to send the values in the form of List to my CommonService class. Below code is not working... function f_getPop
java script - Ajax
java script  I have a java script function and getting "pitems" list values in select, and i want to send the values in the form of List to my CommonService class. I want to display the selected value from the select box
Ajax - Java Beginners
Ajax  Hi guys, how we will create a suggestion box using Ajax.For e.g Suppose in google we r searching something related to java so after some days if i want to know what i have searched previously means if i will write
Java Script - Ajax
Java Script  Hi Sir, This is mohan. I am sending the code regarding what i needed. In the code There is 1."Type" which is the combo box through which the details can be fetched from the Database. and in the same line
Java JSP - Ajax
Java JSP  package com.wipro.semsary.model.bao; import com.wipro.semsary.model.SearchList; import com.wipro.semsary.model.dao.AdminModuleClass; import java.util.ArrayList; public class AdminClass implements
ajax  please describe the ajax
Ajax  How to learn AJAX
Ajax  Hi, What is Ajax? What is the use of Ajax? Thanks   Hi, Ajax is set of technologies used to develop dynamic web applications. In Ajax following technologies is used: a) JavaScript b) XML c) HTTP d) CSS Learn
Ajax  how to impliment ajax in registration table using jsp-servlet
Java with Ajax calendar - Java Interview Questions
Java with Ajax calendar  Make a Java web application that will give the month and year for all days that fall in a specific day of the month... not need to refresh the whole page, if some parameters are changed. Use Ajax
creation of drop down menu using ajax in java - Ajax
creation of drop down menu using ajax in java  Hi, Here I want to create a drop down menu using ajax in ofbiz framework. I want to fetch... any examples using ajax in can you help? Regards, Padmashree
AJAX - Ajax
AJAX  What is AJAX?how we will use it in java?what is the use of AJAX?give me example?   hi friend, Ajax plays a major role... characteristics have made it popular among the users to develop their site using Ajax
java file with many methods - Ajax
java file with many methods  I have to send response to a java file where there are many methods and I have to call one of them by passing parameter .How can I do
Ajax  how to include ajax in jsp page?   Hi, Please read Ajax First Example - Print Date and Time example. Instead of using PHP you can write your code in JSP. Thanks
ajax  how to connect ajax with mysql without using php,asp or any other scripting language. please answer soon
Ajax with java(using Dojo) - JSP-Servlet
Ajax with java (using Dojo)  Hi, In In place Edit Box,when I click "save" button how can I save the data in server side i.e JSP or how can I call.... Is there a possibility for tutorial on Scriptaculous. us,for Java programmers
ajax  HI, In my application using ajax if i type a managername in the textbox it should display all the employees under the that manager... me reg this. thanks KK   Combobox box using Ajax in JSP   i
ajax. My table is CREATE TABLE HTNEWMETER ( ID NUMBER (10) NOT NULL, METERNO... language="java" import ="java.sql.*, java.text.*,java.util.*" %> <% String