This week's book giveaway is in the Servlets forum.
We're giving away four copies of Murach's Java Servlets and JSP and have Joel Murach on-line!
See this thread for details.
The moose likes Web Services and the fly likes How to call two services on click a Button in JSP page Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Murach's Java Servlets and JSP this week in the Servlets forum!
JavaRanch » Java Forums » Java » Web Services
Bookmark "How to call two services on click a Button in JSP page" Watch "How to call two services on click a Button in JSP page" New topic
Author

How to call two services on click a Button in JSP page

Sudarshan Mallik
Greenhorn

Joined: Jul 28, 2009
Posts: 1
Could any one help out me please?

I am working on a web application (web services, JSP )running on Tomcat 6.0.18. The user is viewing the Message details in one JSP and click on another button in the same JSP or some other link given in the same web page.

The requirement is

1. When message details are rendered in UI, a lock has been created, which has to be released on click on any button in the same JSP or click on some
other link in same web page.

Question is i have to make a request to server for unlocking the message, then sending request to the server requested by the user.

Thanks
Vyas Sanzgiri
Ranch Hand

Joined: Jun 16, 2007
Posts: 686

Your controller can call 2 or more web services synchronously or async. What is the issue?


===Vyas Sanzgiri===
My Blog
 
It is sorta covered in the JavaRanch Style Guide.
 
subject: How to call two services on click a Button in JSP page
 
Similar Threads
how to call a jsp function with in a hyperlink
Open JSP page deployed in other web server
Click tracking in Java
Caching the Servlet's response
Calling a java method from class in jsp