Granny's Programming Pearls
"inside of every large program is a small program struggling to get out"
JavaRanch.com/granny.jsp
The moose likes HTML, CSS and JavaScript and the fly likes JQuery and JSP invocation Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of The Java EE 7 Tutorial Volume 1 or Volume 2 this week in the Java EE forum
or jQuery UI in Action in the JavaScript forum!
JavaRanch » Java Forums » Engineering » HTML, CSS and JavaScript
Bookmark "JQuery and JSP invocation" Watch "JQuery and JSP invocation" New topic
Author

JQuery and JSP invocation

Binu K Idicula
Ranch Hand

Joined: Jul 11, 2002
Posts: 99
Hi,
I am trying to implement a single screen AJAX UI with tabs using JQuery. I had divided the html into content1 and content2. content1 corresponds to Search.jsp and Content2 corresponds to DisplayResulsts.jsp. DisplayResults.jsp takes a parameter name. Currently I am simply trying to load content2 as follows.. But how do I pass parameters to JSP and process results in this?



Thank You in advance
Binu K Idicula
Bear Bibeault
Author and ninkuma
Marshal

Joined: Jan 10, 2002
Posts: 61066
    
  66

The documentation tells you how to pass data to the request. And you don't need to do anything with the response, .load() will automatically inject the result into the DOM where you specified.


[Asking smart questions] [Bear's FrontMan] [About Bear] [Books by Bear]
 
Don't get me started about those stupid light bulbs.
 
subject: JQuery and JSP invocation