Hi there,
Any idea with the HTTP 200 use for Java? What is the HTTP Header? If my client request me send them a login request using Java? How I should do it?
Please help me because I'm new in this line... Thank you very much
Hi sedj,
Thanks for your reply.
I just don't understand what is HTTP 200, can explain to me? Because this is the first time I handling Java project with the other party.
I mean that I need to send a login request to my client side because my client want to make sure that my site here is a valid vendor. I don't know how to start with the coding. Any idea of it?
Hope you will response ASAP because the deadline is coming soon....
HTTP has nothing to do with Java.
HTTP stands for HyperText Transfer Protocol. It is a communication protocol built on top of TCP/IP. Status 200 (if you had read the links, this would all have been explained) means that the HTTP request has succeeded, and information has been sent back to the client (requester), if appropriate.
>>> I mean that I need to send a login request to my client side because my client want to make sure that my site here is a valid vendor. I don't know how to start with the coding. Any idea of it?
Do you mean that your "client" has a HTTP server running (such as apache or IIS), and you need to make a HTTP request to them (ie as a browser would to a web server) ?
The best advice I can give you is to better understand what is expected of you, and also to understand what is involved with HTTP ....
Hi Sedj,
I had solve the previous problem.. Now, I got another question. My client & my side is using tomcat server. My client is complaining sometime they can't reach my side. The error they have is "Unable to reach the server side". Did you encounter this kind of problem before?
I had monitor my tomcat server during the period they complain. My tomcat dos prompt just stop there and no responding to any incoming requesr.
I would suggest having a simple test page such as :
<html>
<body>
Hello, if you are reading this, then the test has worked.
</body>
</html>
If this works then you know that it is not tomcat, but the code deployed in it. Slowly debug your application to try to work out what exactly is going wrong by adding System.out.println() statements etc.
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.