Hi Erik,

You can monitor the web traffic in Firefox using an addon, for example FireBugs 
or LiveHeaders (http://livehttpheaders.mozdev.org/).  There is possibly an even 
better addon that I don't know about...  You can use these addons to find out 
what to put in your requests.

Tony

> Message du 08/01/10 17:54
> De : "Erik5048" 
> A : [email protected]
> Copie à : 
> Objet : css validation from Java
> 
> 
> 
> I want to online validate CSS from a java program of mine. 
> 
> So with Firefox, I send a piece of CSS text like this: 
> 
> http://jigsaw.w3.org/css-validator/validator?text=h2{margin-left:34px;} 
> 
> (= Firefox URL) and get an HTML page back, sayinf all is OK.
> 
> How would I do that from a Java program with HttpClient ? How can I find
> out, how a request is built up , and a response is received ?
> All I get now is an HTTP error 500....
> what would be the HttpClient definition and what the Request ?
> -- 
> View this message in context: 
> http://old.nabble.com/css-validation-from-Java-tp27078997p27078997.html
> Sent from the HttpClient-User mailing list archive at Nabble.com.
> 
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [email protected]
> For additional commands, e-mail: [email protected]
> 
> ---------------------------------------------------------------------------------------
> Orange vous informe que cet e-mail a ete controle par l'anti-virus mail. 
> Aucun virus connu a ce jour par nos services n'a ete detecte.
> 
> 
> 

Reply via email to