tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Tom Drake" <>
Subject Re: problem with multiple application on Tomcat
Date Wed, 02 Jan 2002 12:50:23 GMT

All you need to do is to package each set of classes (and other resources)
as a seperate web application. The tomcat docs provide plenty of information
about how to do this.

The 'simplest' way to create a web-application is to construct a directory
structure (under the jakarta-tomcat-4.0/webapps directory) that contains
all of your context's files (html, jsp, gif, jpg, etc...). Either place your
in context/WEB-INF/classes or place your 'jar' file in context/WEB-INF/lib.

You can then jar up the whole mess into a WAR file. Read the tomcat docs
about deploying web-applications in the form of WAR files.

No other configuration should be required unless your application has the
need for it.

Tomcat 4 allows you to add new web-applications at any time. It also lets
you re-deploy (update) existing web-applications.

I think you'll find all the details you need in the tomcat documentation.

Good Luck.

Tom Drake

----- Original Message -----
From: "puneet sachar" <>
To: "Tomcat Users List" <>; "Tom Drake"
Sent: Tuesday, January 01, 2002 11:53 AM
Subject: problem with multiple application on Tomcat

| i got your answers
| but sir tell me onr simple thing
| u have one server running ok
| and 3 classes placed some where and thoes files
| correspond to different clients
| is it possible at runtime i change the classpath
| acording to my liking with suit the particular client
| is it possible
| i'm also sending u a word attachment where i had 3
| sloutions for them
| now go through them all and mail me and tell me whatz
| exactly be done to get solutions
| regards
| Puneet
| __________________________________________________
| Do You Yahoo!?
| Send your FREE holiday greetings online!


| --
| To unsubscribe:   <>
| For additional commands: <>
| Troubles with the list: <>

To unsubscribe:   <>
For additional commands: <>
Troubles with the list: <>

View raw message