tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Konstantin Kolinko <knst.koli...@gmail.com>
Subject Re: Create executable jar for tomact
Date Tue, 27 Sep 2011 00:39:59 GMT
2011/9/27 ilyal levin <nipponilyal@gmail.com>:
> Hi
>
> I should mention that i'm new to tomcat and the servlet idea.
> i'm using tomcat v6 and eclipse 3.7.

> I installed a tomcat plugin to eclipse,

Which one and why?

There is "Eclipse for Java EE developers" that includes support for
Tomcat (and other web servers) thanks to Web Tools project.

http://www.eclipse.org/projects/project.php?id=webtools


> The question is how can i activate this servlet without eclipse:
> Should i create executable jar and run it on tomcat? or can i create
> executable jar that activates my tomcat automatically?

Read the Servlet specification (see links on the Specifications page
in Tomcat Wiki).

You would have to pack your application as war file and put it into
webapps folder of Tomcat.  Tomcat will notice it and "autodeploy"
(unpack) automatically.


It is possible to deploy a web application without packing, but that
would be more complicated.

Best regards,
Konstantin Kolinko

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
For additional commands, e-mail: users-help@tomcat.apache.org


Mime
View raw message