I am having a requirement to have an application with URLs like
<hostname>/<a code to identify the country>
I assumed to use context path targeting to same docbase but doesnt look the optimal way as may hamper the performance. (the urls may go beyond 80)
Even i dont want the multiple loading of the same class. My need is to identify the code (/fr etc) and do some processing for it.
should i go with the apache proxy settings?? its the worst case.
Apache proxy or URL rewrite is one way to do it, but if everyone is supposed to be routed to the same webapp, you should consider deploying the webapp under the root context and simply pulling off and using the country code part of the URL as part of the application logic.
When it comes to destroying a civilization, gas chambers cannot hold a candle to echo chambers.
What could go wrong in a swell place like "The Evil Eye"? Or with this tiny ad?
ScroogeXHTML - small and flexible RTF to HTML converter library