Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 192111
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 11, 20262026-05-11T16:23:54+00:00 2026-05-11T16:23:54+00:00

Can someone point me to tutorials using jQuery to create AJAX apps with Java

  • 0

Can someone point me to tutorials using jQuery to create AJAX apps with Java (servlets). I was looking at the tutorial Implementing Ajax in Java web application using JQuery, which is similar to what I need, but it doesn’t include most of the detail.

If you know of a good tutorial, text + graphics or video or know the main steps and can outline them, that would be appreciated. I know it seems like something that should be easy to Google and come up with 100s of answers, but it’s not, which is why I am asking. Thanks.

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-11T16:23:55+00:00Added an answer on May 11, 2026 at 4:23 pm

    He’s assuming a lot about his audience. The tutorial is written for people who know Java web app development, at least to some basic level, and have dealt with a little Javascript, perhaps even tried a jquery tutorial or two. I think this is fine, as it means that someone who is familiar with all of that will be able to jump right in and get to the meat of the matter without having to filter out all the stuff they already know. Perhaps a paragraph at the top explaining those assumptions would be a good idea, but I digress…

    What jumps out at me as a potential gotcha is that the weather servlet is in the ajaxify package:

                      V------see?
    <servlet-class>ajaxify.WeatherServlet</servlet-class>
    

    so you will need to make sure you specify that package in WeatherServlet.java, or change it to match what you are doing. Also, no mention is made of including the jquery.js file in the <head> of your JSP:

    <script type="text/javascript" src="jquery.js" />
    

    Obviously you will need to include code around the form to make it into a complete html page, so you will have a <head> element into which to put the various <script> tags. You will also need to complete the WeatherServlet class as in any other Java web application:

    public class WeatherServlet extends HttpServlet
    {
      ...
    

    BTW, I think it’s a great tutorial. I am familiar with Servlets and JSP, know the concept behind AJAX, knew of jQuery, and have messed with jQuery for about ten minutes. The tutorial perfectly filled the gaps in my knowledge I had around how all those pieces fit together. I had no idea jQuery could make AJAX so easy to deal with, and this is going to get me to look a lot more seriously into jQuery.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Ask A Question

Stats

  • Questions 120k
  • Answers 120k
  • Best Answers 0
  • User 1
  • Popular
  • Answers
  • Editorial Team

    How to approach applying for a job at a company ...

    • 7 Answers
  • Editorial Team

    How to handle personal stress caused by utterly incompetent and ...

    • 5 Answers
  • Editorial Team

    What is a programmer’s life like?

    • 5 Answers
  • Editorial Team
    Editorial Team added an answer Well, a locale is generally used to allow different output/input… May 12, 2026 at 12:04 am
  • Editorial Team
    Editorial Team added an answer Thanks to some folks on IRC I was able to… May 12, 2026 at 12:04 am
  • Editorial Team
    Editorial Team added an answer The best solution I found was to change it so… May 12, 2026 at 12:04 am

Related Questions

So I am doing a lot of php tutorials and I always wonder when
I'm trying a few different approaches to Javascript inheritance at the moment. I have
Alright I've spent a good three days trying this, here's the scenario: I want
I need to create reports in a C# .NET Windows app. I've got an

Trending Tags

analytics british company computer developers django employee employer english facebook french google interview javascript language life php programmer programs salary

Top Members

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.