RE: HTTP Servlet - How to use the same connection for GET URL?

2004-05-27 Thread tiago_mendonca
Thanks to all, I forget to tell you that the HTTP Servlet and its request to URL of another SW are located on the same host. Maybe I didn't understand quite well some of your answers but I do believe that for the Server performance it is better to have one remain connection (socket) to the URL

Re: HTTP Servlet - How to use the same connection for GET URL?

2004-05-26 Thread tiago_mendonca
Hi, Thanks for replying me! Unfortunatly the HTTP call is the only way I have to submit my information... Ideal would be to send a POST HTTP to tht URL with the same connection, I mean the same socket where the HTTP service is up. The strange is that using a php program, I can POST the HTTP

Re: HTTP Servlet - getparameter returns NULL for % character

2004-05-25 Thread tiago_mendonca
The % is a control character which needs to be urlEncoded. Browsers do this automatically for you and HttpServlet automatically un-encodes these characters for you when you use the getParameter method. If your other apps are not encoding the data properly, then this is not really a

Re: HTTP Servlet - getparameter returns NULL for % character

2004-05-25 Thread tiago_mendonca
Thanks Ben for your help! In fact my users told me that their using URL encondig on their programs before posting to my HTTP Servlet, which makes me confused. So far the only solution I found was to ask them to treat the char % on their text so they can force to send %25 (which represents the

HTTP Servlet - How to use the same connection for GET URL?

2004-05-25 Thread tiago_mendonca
Hi dear all, I supose I've a simple question about HTTPServlet but my I'm really stucked. I hope Tomcat mailing list can help me!! I'm using Tomcat V5. Is it possible to have an HTTP Servlet GET a URL using the same URL connection always (I mean the same socket connected). Maybe it's better

HTTP Servlet - getparameter returns NULL for % character

2004-05-19 Thread tiago_mendonca
Dear all, I'm quite new using HttpServlets, that's why I hope you can help me! I'm using an HttpServlet on Tomcat 5 that is prepared to receive POST HTTP requests from remote machines. If I use an html form and I submit a text to this servlet (method post), the get parameter of the http servlet