Skip to main content

how to get http response code (500,503 and etc) Urgent

1 reply [Last post]
zjiaqing
Offline
Joined: 2004-12-20

I Using weblogic generated webservice client stub(base on jax-rpc). And I want get Http response code in client when server busy or other http errors occured in server,
If who knows how to do it.Pls give an answer.

Thanks and Best Regards!

Reply viewing options

Select your preferred way to display the comments and click "Save settings" to activate your changes.
neunerball
Offline
Joined: 2005-11-22

Check out J2SE's java.net.HttpURLConnection