In my XML file to search, I can either have
<Connector port="8443" protocol="HTTP/1.1" SSLEnabled="true" scheme="https" secure="true" clientAuth="false" sslProtocol="TLS" keystoreFile="${tdmweb.keystorePath}" keystorePass="${tdmweb.keystorePassword}" keyAlias="${tdmweb.keyAlias}"/>
OR
<Connector port="8080" protocol="HTTP/1.1"/>
I want to capture port into SERVICE_PORT, scheme attribute if present, its value has to be captured into SCHEME_PROP_VALUE and also into HTTPS_PROP_VALUE.
If the other attributes are not there I want to capture only port into SERVICE_PORT property.
Please tell me how I can make this work?
FOLLOW US
Get the latest news in Application Packaging