import java.sql.SQLException;
import at.pinzgaucom.servlet.EasyServlet;
import at.pinzgaucom.servlet.EasyServletData;
import at.srfg.cms.CMSConnection;
public class test extends EasyServlet {
protected EasyServletData doProzess(EasyServletData esd) throws SQLException {
esd.debugmode=0;
echodebug(esd,"start");
String testget="bla=gugu&blo=blag≥[0]=5≥[1]=4≥[2]=3";
String testcontent="test=blubbblubb";
//String URL = "http://localhost/test/test2?"+testget;
String URL = "http://localhost:85/?"+testget;
String data="nix";
echodebug(esd,"start con");
CMSConnection con = new CMSConnection(URL);
if ( con.doWork(testcontent) ) {
data = con.getContent();
echodebug(esd,"con");
} else {
echodebug(esd,"not con");
}
echodebug(esd,"end con");
echo(esd,data);
echodebug(esd,"end");
return esd;
}
}