How do I organize jsp+ajax mobile servers?

Asked 2 years ago, Updated 2 years ago, 84 views

Hi, everyone. In the meantime, I have implemented a mobile server by matching one servlet class with one URL. I heard that jsp + ajax is a more common way. But I don't know how to do it. Even if I try to search on the Internet, I can't because I don't know. Can you get a sense of how it's implemented? Thank you.

jsp ajax

2022-09-22 21:40

1 Answers

JAX-RS (Java™ API for RESTful Web Services) is a Java API that supports implementation of lightweight REST-style web applications on the Java platform. -Source: Wikipedia

Not JAX-RS 2.0.

Ajax's usage example is when the page does not refresh when you press like on Facebook.

The ajax implementation is implemented directly using the Xmlhttprequest function, and there is also a method using jQuery or other libraries, but it is usually made with jQuery.

If you are using jQuery

http://zetawiki.com/wiki/JQuery_$.ajax()

Read it once and it will help you figure it out

Other search keywords include jquery ajax and jsp ajax examples.


2022-09-22 21:40

If you have any answers or tips


© 2024 OneMinuteCode. All rights reserved.