At 12:25 PM 6/10/2004 -0700, you wrote:
Jerry Miernik wrote:
This works! How did you come to know that?
Is there a doc I should have read to know?
Well, strictly speaking, if you read the doc you'll know that's
not a legal URL :-)
Yep, but it has worked with every server I've ever used it with.
Jerry Miernik wrote:
This works! How did you come to know that?
Is there a doc I should have read to know?
Well, strictly speaking, if you read the doc you'll know that's
not a legal URL :-)
RFC 1738: Uniform Resource Locators (URL) shows the format:
3.1. Common Internet Scheme Syntax
While
rks! RE: 2nd inquiry: how to - programmatically -
authenticate
>oneself as Tomcat manager?
>
> Jake,
> This works! How did you come to know that?
> Is there a doc I should have read to know?
> Thanks,
> Jerry.
>
>
>-Original Message-
>From: Jacob Kjome [mail
- programmatically - authenticate oneself as Tomcat
manager?
Quoting Bill Barker <[EMAIL PROTECTED]>:
> 1) Assuming boring system encodings, and something to do Base64 encoding:
>String creds = username+":"+password;
>String b64creds = Base64Util.encode(creds.getBytes());
&g
Quoting Bill Barker <[EMAIL PROTECTED]>:
> 1) Assuming boring system encodings, and something to do Base64 encoding:
>String creds = username+":"+password;
>String b64creds = Base64Util.encode(creds.getBytes());
>tmc.addRequestProperty("Authorization","Basic "+b64creds);
>
> 2) Not w
1) Assuming boring system encodings, and something to do Base64 encoding:
String creds = username+":"+password;
String b64creds = Base64Util.encode(creds.getBytes());
tmc.addRequestProperty("Authorization","Basic "+b64creds);
2) Not with Basic. You might be able to rig something with Fo
The question is related to undeploying a webapplication
from a Java code. A connection to tomcat manager using
URL tomcatMgr =
new URL("http://localhost:8080/manager/undeploy?path=/any";);
URLConnection tmc = tomcatMgr.openConnection();
results in:
java.io.IOExcepti
The question is related to undeploying a webapplication
from a Java code. A connection to tomcat manager using
URL tomcatMgr =
new URL("http://localhost:8080/manager/undeploy?path=/any";);
URLConnection tmc = tomcatMgr.openConnection();
results in:
java.io.IOExcepti