Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations gkittelson on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

HTTP 200

Status
Not open for further replies.

Angellin

Programmer
Jun 5, 2002
9
SG
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

Cheers!
Angelln
 
oops ! Those links are the other way round ...
 
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....

Cheers!
Angellin
 
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 ....

Good luck !
 
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.

Thanks and hope to hear from you soon.;
 
What Tomcat and Java versions ?

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.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top