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
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: 368
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: 2718
    
    6

"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
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: How to display New Page using ajax