• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

how to call web services in JSP?

 
harshada patil
Ranch Hand
Posts: 96
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I'm designinga portlet in JSP, in which i want to call web service, how to do it?
 
Prasad Krishnegowda
Ranch Hand
Posts: 667
4
Eclipse IDE Java Spring
  • Likes 1
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Pie
Posts: 64833
86
IntelliJ IDE Java jQuery Mac Mac OS X
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Indeed. The time to be using JSPs inappropriately for anything other than constructing the view are long long past.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic