tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From GF <gan...@gmail.com>
Subject Same .war handling more Context Path
Date Sat, 07 May 2011 08:41:30 GMT
Hello, the only way i found to handle with a single .war more than one
context path is the following in the server.xml


      <Context docBase="myApp" path="/en" reloadable="true" />
      <Context docBase="myApp" path="/it" reloadable="true" />

But this cause myApp being "loaded" TWICE (or many times if i wish to
handle many languages, it, en, fr, and so)

Is there some alternative way? I have the underlying .war written in
struts2 and it's context-path indipendent, so the best choice for me
would be to place the "language" information in the context-path
section of the url.

Thank you

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


Mime
View raw message