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 Murach's Java Servlets and JSP this week in the Servlets 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: 60767

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: http://aspose.com/file-tools
subject: how to call web services in JSP?
Similar Threads
How to use Request Dispatcher
call javafx in jsp
How to call logger class in jsp file
applet to jsp
calling ejb from jsp