aspose file tools*
The moose likes JSP and the fly likes can i apply Ajax in jsp pages and how ? Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » JSP
Bookmark "can i apply Ajax in jsp pages and how ?" Watch "can i apply Ajax in jsp pages and how ?" New topic
Author

can i apply Ajax in jsp pages and how ?

sandip sangale
Greenhorn

Joined: Jun 22, 2009
Posts: 15

please,

Explain me with some example
Bear Bibeault
Author and ninkuma
Marshal

Joined: Jan 10, 2002
Posts: 61648
    
  67

Please read this.


[Asking smart questions] [Bear's FrontMan] [About Bear] [Books by Bear]
Bear Bibeault
Author and ninkuma
Marshal

Joined: Jan 10, 2002
Posts: 61648
    
  67

Once a JSP page has been processed and sent to the browser, it's just an HTML page like any other. So you can use Ajax in a JSP just like you would any other page.
sandip sangale
Greenhorn

Joined: Jun 22, 2009
Posts: 15
Bear Bibeault wrote:Once a JSP page has been processed and sent to the browser, it's just an HTML page like any other. So you can use Ajax in a JSP just like you would any other page.



thanks .....

but i want some code
Bear Bibeault
Author and ninkuma
Marshal

Joined: Jan 10, 2002
Posts: 61648
    
  67

sandip sangale wrote:thanks ..... but i want some code

Please read this.
David Newton
Author
Rancher

Joined: Sep 29, 2008
Posts: 12617

sandip sangale wrote:but i want some code

There is an essentially unlimited amount of Ajax code available on the internet, from the very simple to the very complex.

Are you having a specific issue?
Andy Crane
Greenhorn

Joined: Dec 30, 2008
Posts: 17

If you're using Spring, make sure you check out DWR in order to utilize Spring with Ajax.

Also, for a basic, 10 min tutuorial on just what Ajax is and how it works, check out w3schools.com.

- andy c


- andy c
"Pseudo code first. If you can pseudo code accurately, when you start writing code, you're just applying syntax to the pseudo code. It separates the two most complicated pieces of programming into manageable bites. You create your app's workflow without worrying about syntax. Then you code without worrying about your app's workflow."
 
Consider Paul's rocket mass heater.
 
subject: can i apply Ajax in jsp pages and how ?