aspose file tools*
The moose likes HTML, CSS and JavaScript and the fly likes How to display New Page using ajax Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of EJB 3 in Action this week in the EJB and other Java EE Technologies forum!
JavaRanch » Java Forums » Engineering » HTML, CSS and JavaScript
Bookmark "How to display New Page using ajax" Watch "How to display New Page using ajax" New topic
Author

How to display New Page using ajax

Saurabh Naik
Ranch Hand

Joined: Apr 24, 2008
Posts: 87
on any action I want directly call any jsp or html..(through AJAX) or servlet.. and that response should be in the new page or same page fully .
so what should I write in responsehtml to display response as a new page


SCJP 6 (88%), SCWCD 5 (78%), preparing for SCBCD
Shailesh Narkhede
Ranch Hand

Joined: Jul 10, 2008
Posts: 365
You can directly call new Jsp or html in action,
why you want to call it from Ajax?


Thanks,
Shailesh
Amit Ghorpade
Bartender

Joined: Jun 06, 2007
Posts: 2709
    
    5

"Shail esh " please check your private messages for an important administrative matter. You can check them by clicking the My Private Messages link above.


SCJP, SCWCD.
|Asking Good Questions|
Saurabh Naik
Ranch Hand

Joined: Apr 24, 2008
Posts: 87
yes I know I can call directly in Action.

but suppose I want to display page on onclick or onchange event.. is this possible ? how ?
Eric Pascarello
author
Rancher

Joined: Nov 08, 2001
Posts: 15376
    
    6
call you Ajax function with the onclick or onchange event?

Eric
 
jQuery in Action, 2nd edition
 
subject: How to display New Page using ajax
 
Similar Threads
problem in refreshing
AJAX XMLHttpRequest sample project
AJAX JSP TagLib Interaction?
AJAX - multiple requests, etc.
Ajax doubt