This week's giveaway is in the Spring forum.
We're giving away four copies of REST with Spring (video course) and have Eugen Paraschiv on-line!
See this thread for details.
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 REST with Spring (video course) this week in the Spring forum!
JavaRanch » Java Forums » Engineering » HTML, CSS and JavaScript
Bookmark "JQuery and JSP invocation" Watch "JQuery and JSP invocation" New topic

JQuery and JSP invocation

Binu K Idicula
Ranch Hand

Joined: Jul 11, 2002
Posts: 99
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

Joined: Jan 10, 2002
Posts: 63534

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] [About Bear] [Books by Bear]
I agree. Here's the link:
subject: JQuery and JSP invocation
jQuery in Action, 3rd edition