tomcat-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Jacek Laskowski <jlaskow...@apache.org>
Subject Embedded.createConnector doesn't create a HTTP connector
Date Fri, 10 Dec 2004 18:37:15 GMT
Hi,

It seems that Embedded.createConnector doesn't create a HTTP connector. 
If I do

   connector = embedded.createConnector((String) null, 8080, "http");

connector is null. In fact, I haven't been able to find a way to create 
it other than do the following:

   connector = new Connector("HTTP/1.1");
   connector.setPort(8080);

Is it how it should be done?

Jacek


---------------------------------------------------------------------
To unsubscribe, e-mail: tomcat-dev-unsubscribe@jakarta.apache.org
For additional commands, e-mail: tomcat-dev-help@jakarta.apache.org


Mime
View raw message