about war file

D

david wolf

I have some classes needed to put in tomcat_home\shared\classes which
is shared by several web applications. How to put these classes in a
WAR file and deploy these classes? (Is it possible to put these files
in a jar file and deply too?)

Thanks,

David
 
R

Robert Klemme

david said:
I have some classes needed to put in tomcat_home\shared\classes which
is shared by several web applications. How to put these classes in a
WAR file and deploy these classes? (Is it possible to put these files
in a jar file and deply too?)

You will have to put them into a jar and deploy them there. WAR's are
for complete web applications.

robert
 
D

david wolf

My understanding is that war file can only be deployed (uncompressed)
under tomcat_home\webapps\....

As Robert said, if I put my files that are supposed to go to
tomcat_home\shared\classes into the jar file, can tomcat deploy it
automatcially (i means put it back into tomcat_home\shared\classes?)?
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
474,432
Messages
2,571,680
Members
48,796
Latest member
Greg L.

Latest Threads

Top