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 / December 2006

Tip: Looking for answers? Try searching our database.

tomcat

Thread view: 
pathipati.mca@gmail.com - 26 Dec 2006 12:42 GMT
Dear all iam new for java,i have one dought that is how to set path to
tomcat and how to deploy.
 

  regards,
  chinni.
jupiter - 27 Dec 2006 23:07 GMT
> Dear all iam new for java,i have one dought that is how to set
> path to
> tomcat and how to deploy.
>
>   regards,
>   chinni.

I see that somebody already told you how to set a Windows path.

Deployment is different for jsp versus servlets.  Servlets get
compiled manually *before* you deploy, and jsp gets compiled at
runtime during the first invocation of the jsp.

Deployment is typically done by creating a web archive (a "war"
file with .war extension) using the jar utility.  Invoke the jar
utility at the command line in the root of the project.  Assuming
you use jar correctly, it will create the .war file in the current
directory, which you need to copy to the Tomcat webapps folder.
Tomcat, assuming that it's running,  then will deploy (explode the
.war file)  automatically and you can test your url.

This is the short story.  There are many details missing because
they are details that you need to discover as you go.  Just
remember that when you create the .war file it will explode/deploy
under Tomcat\webapps to create folders and files that look
*exactly* like what you have in your development path.

Good luck, it's a steep learning curve but Tomcat is actually
easier to use than some other containers.  It's a good choice.


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



©2009 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.