You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@tomcat.apache.org by Karthik N S <ka...@controlnet.co.in> on 2005/01/17 12:41:28 UTC

TOMCAT + HttpURLConnection


Hi

Apologies................



I would like to use the  'HttpURLConnection' API to POST
'start/stop/reload'   to   Tomcat  Manager URL

'http://192.168.10.64:8080/manager/html/start?path=/XYZ' ,

 So can I Code this and  Do I need the Proxy Authorization to do the same.

Please  send Some Code Snippets regarding the same.



Thx in Advance


WITH WARM REGARDS
HAVE A NICE DAY
[ N.S.KARTHIK]


Re: TOMCAT + HttpURLConnection

Posted by Mark Thomas <ma...@apache.org>.
Karthik N S wrote:
> ** 
> 
> *Hi*
> 
> *Apologies................*
> 
> ** 
> 
> *I would like to use the  'HttpURLConnection' API to POST  
> 'start/stop/reload'   to   Tomcat  Manager URL*
> 
> *'http://192.168.10.64:8080/manager/html/start?path=/XYZ' , *
> 
> * So can I Code this and  Do I need the Proxy Authorization to **do the 
> same.*
> 
> *Please  send Some Code Snippets regarding the same.*

Have a look at the Ant tasks for use with the manager: 
http://cvs.apache.org/viewcvs.cgi/jakarta-tomcat-catalina/catalina/src/share/org/apache/catalina/ant/


> 
> ** 
> 
> *Thx in Advance*
> 
> **
> *WITH WARM REGARDS
> HAVE A NICE DAY
> [ N.S.KARTHIK]*
> 
> 
> ------------------------------------------------------------------------
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: tomcat-user-unsubscribe@jakarta.apache.org
> For additional commands, e-mail: tomcat-user-help@jakarta.apache.org


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


Re: TOMCAT + HttpURLConnection

Posted by Ben Souther <bs...@fwdco.com>.
This might be of interest to you:
http://jakarta.apache.org/commons/httpclient/



On Mon, 2005-01-17 at 06:41, Karthik N S wrote:
>  
> 
> Hi
> 
> Apologies................
> 
>  
> 
> I would like to use the  'HttpURLConnection' API to POST 
> 'start/stop/reload'   to   Tomcat  Manager URL
> 
> 'http://192.168.10.64:8080/manager/html/start?path=/XYZ' , 
> 
>  So can I Code this and  Do I need the Proxy Authorization to do the
> same.
> 
> Please  send Some Code Snippets regarding the same.
> 
>  
> 
> Thx in Advance
> 
> 
> WITH WARM REGARDS 
> HAVE A NICE DAY 
> [ N.S.KARTHIK]
> 
> 
> 
> ______________________________________________________________________
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: tomcat-user-unsubscribe@jakarta.apache.org
> For additional commands, e-mail: tomcat-user-help@jakarta.apache.org


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