aspose file tools*
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: 560
    
    3

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

Joined: Jan 10, 2002
Posts: 61646
    
  67

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]
 
It is sorta covered in the JavaRanch Style Guide.
 
subject: how to call web services in JSP?