> From: Gehrny [mailto:a1095...@jnxjn.com] 
> Subject: Put URL in context.xml

> I would like to store the URL and the port of the remote 
> site in the context.xml.

> 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"/>

The stated need doesn't seem to have anything to do with what the <Resource> 
element is for.  Look at using either a <Parameter> or <Environment> element 
nested inside your <Context>

http://tomcat.apache.org/tomcat-6.0-doc/config/context.html#Context_Parameters

 - Chuck


THIS COMMUNICATION MAY CONTAIN CONFIDENTIAL AND/OR OTHERWISE PROPRIETARY 
MATERIAL and is thus for use only by the intended recipient. If you received 
this in error, please contact the sender and delete the e-mail and its 
attachments from all computers.


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

Reply via email to