Two Laptop Bag*
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
JavaRanch » Java Forums » Java » JSP
Bookmark "how to call web services in JSP?" Watch "how to call web services in JSP?" New topic
Author

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
Marshal

Joined: Jan 10, 2002
Posts: 60782
    
  65

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]
 
wood burning stoves
 
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