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 / September 2007

Tip: Looking for answers? Try searching our database.

creating a war file using tomcat

Thread view: 
wamahesimonpeter@yahoo.co.uk - 26 Sep 2007 18:41 GMT
Hi am a newbie to tomcat. I am having trouble creating a war file, any
help will do. thanks in advance
Tim Slattery - 26 Sep 2007 21:08 GMT
>Hi am a newbie to tomcat. I am having trouble creating a war file, any
>help will do. thanks in advance

You're going to have to be more specific than that. You use the
jar.exe tool to create a War. What problem are you having?

Signature

Tim Slattery
Slattery_T@bls.gov
http://members.cox.net/slatteryt

Lew - 26 Sep 2007 22:16 GMT
"wamahesimonpeter@yahoo.co.uk" wrote:
>> Hi am a newbie to tomcat [sic]. I am having trouble creating a war file, any
>> help will do. thanks in advance

> You're going to have to be more specific than that. You use the
> jar.exe [1] tool to create a War. What problem are you having?

Popular integrated development environments (IDEs) like Eclipse and NetBeans
have the ability to invoke the 'jar' command for you, as does the Ant build
tool.  (Ant has a 'war' target.)

Read the documentation for the respective products.

[1] "jar.exe" is Windows only.  Other OSes just call it "jar".

See:
<http://java.sun.com/javase/6/docs/technotes/guides/jar/index.html>
<http://java.sun.com/javase/6/docs/technotes/tools/solaris/jar.html>
<http://java.sun.com/javase/6/docs/technotes/tools/windows/jar.html>

To qualify as a WAR, a JAR file should have the extension ".war" and have a
specific internal structure.

Since you're using Tomcat you should read the docs at
http://tomcat.apache.org
in particular,
<http://tomcat.apache.org/tomcat-6.0-doc/appdev/index.html>

Have you?

Signature

Lew

Wayne - 27 Sep 2007 01:14 GMT
> Hi am a newbie to tomcat. I am having trouble creating a war file, any
> help will do. thanks in advance

Try:

http://wpollock.com/AJava/WAR/myServletWAR.htm

-Wayne


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.