Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
HomeAnnouncementsWhite Papers
Discussion GroupsFirst AidDatabasesJavaBeansGUIJava 3DVirtual MachineCORBASecurityToolsGeneral
Java DirectoryOpen Source ProjectsSample Book ChaptersUser GroupsWeb Resources
Related Topics
Databases.NETMore Topics ...

Java Forum / General / March 2006

Tip: Looking for answers? Try searching our database.

about war file

Thread view: 
david wolf - 29 Mar 2006 15:59 GMT
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
Robert Klemme - 29 Mar 2006 16:18 GMT
> 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
david wolf - 29 Mar 2006 17:54 GMT
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?)?


Free Magazines

Get these publications absolutely FREE for up to 12 months. There are no hidden fees and no obligation. Simply choose a title, complete the application form and submit it. Read more ...

Oracle MagazineNetwork ComputingComputer WorldBio-IT WorldeWeekInformation WeekInfosecurity
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.