File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
The moose likes JSP and the fly likes how to call web services in JSP? Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login

Win a copy of EJB 3 in Action this week in the EJB and other Java EE Technologies forum!
JavaRanch » Java Forums » Java » JSP
Bookmark "how to call web services in JSP?" Watch "how to call web services in JSP?" New topic

how to call web services in JSP?

harshada patil
Ranch Hand

Joined: Mar 12, 2011
Posts: 96
I'm designinga portlet in JSP, in which i want to call web service, how to do it?
Prasad Krishnegowda
Ranch Hand

Joined: Apr 25, 2010
Posts: 507

That is not what JSP is used for, its should be used only as a view. You could use your servlet to call webservice.

Regards, Prasad
SCJP 5 (93%)
Bear Bibeault
Author and ninkuma

Joined: Jan 10, 2002
Posts: 60048

Indeed. The time to be using JSPs inappropriately for anything other than constructing the view are long long past.

[Asking smart questions] [Bear's FrontMan] [About Bear] [Books by Bear]
I agree. Here's the link:
subject: how to call web services in JSP?
Similar Threads
calling ejb from jsp
call javafx in jsp
How to use Request Dispatcher
applet to jsp
How to call logger class in jsp file