File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
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
Register / Login
JavaRanch » Java Forums » Java » Web Services
Reply 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
 
I agree. Here's the link: http://zeroturnaround.com/jrebel - it saves me about five hours per week
 
subject: How to call two services on click a Button in JSP page
 
Similar Threads
Calling a java method from class in jsp
Open JSP page deployed in other web server
Click tracking in Java
how to call a jsp function with in a hyperlink
Caching the Servlet's response