tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Gehrny <a1095...@jnxjn.com>
Subject Put URL in context.xml
Date Tue, 01 Mar 2011 17:00:21 GMT

My webapp performs HTTP POST requests to another site. I would like to store
the URL and the port of the remote site in the context.xml. How could I do
this?
So far I have added the following to the context.xml:

<Resource name="http/mprm" auth="Container"
type="java.net.HttpURLConnection;"
url="http://remotehost:8080"/>
-- 
View this message in context: http://old.nabble.com/Put-URL-in-context.xml-tp31041581p31041581.html
Sent from the Tomcat - User mailing list archive at Nabble.com.


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


Mime
View raw message