Think it would be useful to have following constructor
public ServletRunner( InputStream webXml, File contextDirectory, String contextPath ) throws IOException, SAXException { _application = new WebApplication( HttpUnitUtils.newParser().parse( new InputSource( webXml ) ), contextDirectory, contextPath ); completeInitialization( contextPath ); }
I generate web.xml, its not a phyical file
Log in to post a comment.
Think it would be useful to have following constructor
public ServletRunner( InputStream webXml, File contextDirectory, String contextPath ) throws IOException, SAXException {
_application = new WebApplication( HttpUnitUtils.newParser().parse( new InputSource( webXml ) ), contextDirectory, contextPath );
completeInitialization( contextPath );
}
I generate web.xml, its not a phyical file