| | |
Ajax + JSP
Please support our JSP advertiser: PostgreSQL or MySQL? Compare and contrast the two most popular open source databases
![]() |
•
•
Join Date: Dec 2008
Posts: 2
Reputation:
Solved Threads: 0
Hi All
I've created a web page where I'm trying to pull data from the database. My requirement is to populate a combo box from the database automatically, i.e. as and when the db updates, the combo box needs to get updated. I have heard that it's possible with Ajax. Can any one give me some code samples for this. And I'm using servlets as my back end along with JSPs and JSTL to display. So I'll be grateful if anyone can help me with some sample code in Ajax with Java related technologies.
Thanks !
I've created a web page where I'm trying to pull data from the database. My requirement is to populate a combo box from the database automatically, i.e. as and when the db updates, the combo box needs to get updated. I have heard that it's possible with Ajax. Can any one give me some code samples for this. And I'm using servlets as my back end along with JSPs and JSTL to display. So I'll be grateful if anyone can help me with some sample code in Ajax with Java related technologies.
Thanks !
I do not have any sample but code, but do have some suggestions for mixing Java + AJAX:-
GWT is a great framework for developing Ajax based applications in Pure Java.
jMaki is another AJAX framework which can be used with Java on the Server side.
And I would suggest you checking out JSF (Java Server Faces).
GWT is a great framework for developing Ajax based applications in Pure Java.
jMaki is another AJAX framework which can be used with Java on the Server side.
And I would suggest you checking out JSF (Java Server Faces).
"Any fool can write code that a computer can understand. Good programmers write code that humans can understand."
"How to ask questions the smart way ?"
"How to ask questions the smart way ?"
> So I'll be grateful if anyone can help me with some sample code in
> Ajax with Java related technologies.
Ajax is a set of technologies and hence doesn't depend on a single language for its implementation. Ajax is simply a asynchronous request sent by the browser using the inbuilt XHR object to the web server and getting back a textual response in a suitable data format[XML, JSON etc].
The way the web server handles the request, processes it and responds to the request is left to the implementation you desire. But if you are looking for a Java based solution for handling Ajax in your JEE web application, the above post is a good starting point.
> Ajax with Java related technologies.
Ajax is a set of technologies and hence doesn't depend on a single language for its implementation. Ajax is simply a asynchronous request sent by the browser using the inbuilt XHR object to the web server and getting back a textual response in a suitable data format[XML, JSON etc].
The way the web server handles the request, processes it and responds to the request is left to the implementation you desire. But if you are looking for a Java based solution for handling Ajax in your JEE web application, the above post is a good starting point.
Last edited by ~s.o.s~; Jan 24th, 2009 at 1:39 pm.
I don't accept change; I don't deserve to live.
Jo Tujhe Jagaaye, Nindein Teri Udaaye Khwaab Hai Sachcha Wahi.
Nindon Mein Jo Aaye Jise To Bhul Jaaye Khawab Woh Sachcha Nahi.
Khwaab Ko Raag De, Nind Ko Aag De
Jo Tujhe Jagaaye, Nindein Teri Udaaye Khwaab Hai Sachcha Wahi.
Nindon Mein Jo Aaye Jise To Bhul Jaaye Khawab Woh Sachcha Nahi.
Khwaab Ko Raag De, Nind Ko Aag De
![]() |
Similar Threads
- Roblox seeks Web Developer – .NET / Ajax or DHTML (Web Development Job Offers)
- Ajax with Java (Java)
- JSP ajax question (JSP)
- how can i pass a value from java script to JSP scriplet (JSP)
- how to access the database within same jsp page (JSP)
- AJAX : Am i right with the concept? (JavaScript / DHTML / AJAX)
- Combo Box In Jsp+ Ajax Urgent Please Help Me (JSP)
- Autocomplete using javascript and jsp (JSP)
- Passing paramter from javascript to jsp (JavaScript / DHTML / AJAX)
Other Threads in the JSP Forum
- Previous Thread: Problem migrating Tomcat 5.0 app to 5.5?
- Next Thread: problem with connecting servlet with MySQL using tomcat
Views: 1419 | Replies: 2
| Thread Tools | Search this Thread |
Tag cloud for JSP
apache array backbutton combobox comma connection csv database development directorystructure dropdownlist dynamicpagetitles eclipse frames glassfish ie8 imagetodatabse imageupload integer internet java javaee javascript jsf jsp jsppagetitles levels mvc2 mvcmodel2 mysql netbeans network parameters passing ping printinserverinsteadofclient project read redirect request.getparameter response seperated servlet servletdopost()readxml sessions software sql ssl state_saving_method stocks sun tomcat tutorial update values video web write






