Dupont Girard wrote:Yeah Bill you're right, I add an InutputStream and it works
Thanks
I would like to see your code, because i have the same probleme
My swing :
I can see a xml in outputstream in the swing.
In getResponseCode i have 200 so it is ok. And i think in the servlet the connexion is ok, because i can open an other swing with the error generated by
InputStream is=req.getInputStream();
try {
JAXBContext jc;
jc = JAXBContext.newInstance("info");
Unmarshaller unmarshaller = jc.createUnmarshaller();
info.Utilisateur us = (info.Utilisateur) unmarshaller.unmarshal(is);
...
error : javax.xml.bin.unmarshallExption .. org.xml.sax.SAXParseException: Premature end of file.
thanks