Puneet:

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
classes
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" <[EMAIL PROTECTED]>
To: "Tomcat Users List" <[EMAIL PROTECTED]>; "Tom Drake"
<[EMAIL PROTECTED]>
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 A.java 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!
| http://greetings.yahoo.com


----------------------------------------------------------------------------
----


| --
| To unsubscribe:   <mailto:[EMAIL PROTECTED]>
| For additional commands: <mailto:[EMAIL PROTECTED]>
| Troubles with the list: <mailto:[EMAIL PROTECTED]>


--
To unsubscribe:   <mailto:[EMAIL PROTECTED]>
For additional commands: <mailto:[EMAIL PROTECTED]>
Troubles with the list: <mailto:[EMAIL PROTECTED]>

Reply via email to