Hi Subhro,

> On 27 Nov 2015, at 11:21, Subhro Paul <subhro.p...@tcs.com> wrote:
> 
> Hi Team,
> 
> We have a simple web application(Example : www.example.com) which don't 
> have any ".war" or ".ear". It's just have jsps, htmls, javascripts, css 
> and images inside a folder which is placed in webapps of Tomcat. Now we 
> are developing a complext module which will be referred from the same 
> application with same url, like "www.example.com/complexModule". For that 
> we will create a new war or ear file as necessary like 
> "complexModule.war".
> 
> how can we configure our website in tomcat so that we can refer the new 
> application as "www.example.com/complexModule” ?

So your current web application is in a folder ROOT? That is Tomcat’s way
of deploying to the root context of a host.

Any other folders are reachable just by folder names. war-files are usually
exploded to directories first.

For example, if your host is www.example.com <http://www.example.com/> and the 
webapps directory
has the following two folders:

ROOT/
complexModule/

Then you can access the two web applications through a browser with
the following URLs

http://www.example.com <http://www.example.com/> for ROOT
http://www.example.com/compleModule <http://www.example.com/compleModule> for 
complexModule

> 
> Note:- Contents present in "www.example.com" will be as it is and will not 
> be zipped in "war" or "ear". Only new contents for "complexModule" will 
> have war/ear and will placed as per required configuration.
> 
> Thanks & Regards
> Subhro Paul
> =====-----=====-----=====
> Notice: The information contained in this e-mail
> message and/or attachments to it may contain 
> confidential or privileged information. If you are 
> not the intended recipient, any dissemination, use, 
> review, distribution, printing or copying of the 
> information contained in this e-mail message 
> and/or attachments to it are strictly prohibited. If 
> you have received this communication in error, 
> please notify us by reply e-mail or telephone and 
> immediately and permanently delete the message 
> and any attachments. Thank you
> 
> 

Reply via email to