I'm using TomEE, but I think this question is Tomcat-specific, if there's any 
solution at all.

I have a WAR that is a "pure" webapp, with only javascript, css, and html.  The 
javascript connects to a REST service at a defined host:port.  The host:port is 
currently hardcoded in a javascript variable.

I really need to be able to configure this host:port at deployment time.  I 
know how to do this sort of thing with Java apps, but I'm at a loss to see how 
to do this conveniently for a non-Java war.

How can I rearrange this solution so that I can change the host:port the WAR 
uses at deployment time?

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

Reply via email to