• Post Reply Bookmark Topic Watch Topic
  • New Topic

web services

 
mshaikh shaikh
Greenhorn
Posts: 24
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi, can any one solve my problem?
i have develop a web service, it takes user data n after processing redirect to another web page.
problem is that how it will redirect to another page?
 
Ulf Dittmer
Rancher
Posts: 42970
73
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
WS are normally accesssed by non-human clients, so it generally doesn't make sense to redirect to a web page (which is generally designed for human consumption). What, exactly, are you trying to do?
 
mshaikh shaikh
Greenhorn
Posts: 24
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
actually i want to authenticate the user n then redirect the user to a web page
 
Ulf Dittmer
Rancher
Posts: 42970
73
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
So *is* there a WS , or is it just about web pages?
 
mshaikh shaikh
Greenhorn
Posts: 24
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
its a web service
 
Ulf Dittmer
Rancher
Posts: 42970
73
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Then there isn't really a concept of redirecting to a web page.

What, exactly, are you trying to do?
 
mshaikh shaikh
Greenhorn
Posts: 24
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
my application is that,
web service get the data from user and then send this data to another web service
 
Ulf Dittmer
Rancher
Posts: 42970
73
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
You're not giving us anywhere near enough information to suggest how you might proceed.
 
Prabhakar Reddy Bokka
Ranch Hand
Posts: 197
Java Oracle Spring
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
From the web interface send the login information to controller like servlet, and acce ss your WS in the servlet, authenticate the user credentials entered... and redirect the user to home page or error page from your Controller/servlet. Hope that helps...
 
mshaikh shaikh
Greenhorn
Posts: 24
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
can you help me more how i will "access WS in servlet "
 
Prabhakar Reddy Bokka
Ranch Hand
Posts: 197
Java Oracle Spring
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Nothing special, its the same way how you call your WS from java client.
Just make sure your servlet/project in classpath for all the WS libraries.
 
mshaikh shaikh
Greenhorn
Posts: 24
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
thanks a lot got it
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!