Programming This forum is for all programming questions.
The question does not have to be directly related to Linux and any language is fair game. |
Notices |
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
Are you new to LinuxQuestions.org? Visit the following links:
Site Howto |
Site FAQ |
Sitemap |
Register Now
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
|
 |
06-16-2004, 03:00 PM
|
#1
|
LQ Newbie
Registered: Jun 2004
Distribution: redhat/fedora
Posts: 24
Rep:
|
Tomcat Jakarta and HTML
This may be a stupid question but if i'm only serving jsp and html do I need apache. The reason why i ask is that i've heard of issues with getting the two to talk to each other.
|
|
|
06-16-2004, 04:12 PM
|
#2
|
Member
Registered: Jun 2003
Location: Toronto, Ontario, Canada
Posts: 288
Rep:
|
No, Tomcat can act as a standalone and you don't need to integrate it with the regular apache http server.
|
|
|
06-17-2004, 12:45 AM
|
#3
|
LQ Newbie
Registered: Jun 2003
Posts: 8
Rep:
|
however there are plently of reasons why you should intergrate them, and it can be done without to much trouble, I have done it.
|
|
|
06-18-2004, 06:41 AM
|
#4
|
Member
Registered: Mar 2004
Distribution: Ubuntu Feisty
Posts: 641
Rep:
|
Whats the difference between tomcat and apache?
|
|
|
06-18-2004, 09:07 PM
|
#5
|
Member
Registered: Jun 2003
Location: Toronto, Ontario, Canada
Posts: 288
Rep:
|
Tomcat is a Java web container implementation. That means you can run Servlets and JSP on it. The regular Apache can't.
|
|
|
06-19-2004, 02:15 AM
|
#6
|
Member
Registered: Mar 2004
Distribution: Ubuntu Feisty
Posts: 641
Rep:
|
Quote:
Originally posted by coolman0stress
Tomcat is a Java web container implementation. That means you can run Servlets and JSP on it. The regular Apache can't.
|
Any webby that has good guide on tomcat? Installing and configuring?
|
|
|
06-19-2004, 10:54 AM
|
#7
|
Member
Registered: Jun 2003
Location: Toronto, Ontario, Canada
Posts: 288
Rep:
|
I've been recommending this tutorial. It's from the others of Core Servlets. The actual book ain't that great, but the tutorial is great.
Getting started with Java web technology takes some time, but after that it's fairly straightforward.
Have fun 
|
|
|
06-20-2004, 02:25 AM
|
#8
|
Member
Registered: Mar 2004
Distribution: Ubuntu Feisty
Posts: 641
Rep:
|
So tomcat is a standalone software that need apache to run?
Also, whats the difference between java language and java servlets/jsp?
Lastly, whats the meaning of the info below?
Servlet/JSP Spec Tomcat version
2.4/2.0 5.0.25
2.3/1.2 4.1.30
2.2/1.1 3.3.2
Thanks.
Last edited by subaruwrx; 06-20-2004 at 02:35 AM.
|
|
|
06-20-2004, 11:28 AM
|
#9
|
Member
Registered: Jun 2003
Location: Toronto, Ontario, Canada
Posts: 288
Rep:
|
Quote:
So tomcat is a standalone software that need apache to run?
|
No
Quote:
Also, whats the difference between java language and java servlets/jsp?
|
Java is the programming language in which Servlets and JSP are written in.
Quote:
Lastly, whats the meaning of the info below?
|
Those show which version a particular Tomcat release supports (ex. Tomcat 5 offers Servlets 2.4 and JSP 2.0).
|
|
|
06-20-2004, 11:41 AM
|
#10
|
Senior Member
Registered: Mar 2004
Location: far enough
Distribution: OS X 10.6.7
Posts: 1,690
Rep:
|
So tomcat is a standalone software that need apache to run?
tomcat is different from apache even if it is named Apache Tomcat. As mentionned above tomcat is java/jsp/html centric with few others technologies like xml using java apis.
Also, whats the difference between java language and java servlets/jsp?
jsp and servlets are written with the java language. Actually jsp are compiled into servlets by tomcat at runtime before serving the cache.
Lastly, whats the meaning of the info below?
it is the specification of the servlet api with more or less features according to the version.
|
|
|
07-09-2004, 03:06 AM
|
#11
|
Member
Registered: Mar 2004
Distribution: Ubuntu Feisty
Posts: 641
Rep:
|
So what we see on webby with java are all servlets?
You use java language to write JSP and then use tomcat to compile the JSP into servlets and serve them?
|
|
|
07-09-2004, 02:13 PM
|
#12
|
Senior Member
Registered: Mar 2004
Location: far enough
Distribution: OS X 10.6.7
Posts: 1,690
Rep:
|
if you are familiar with crosoft, think about jsp as asp, and think about tomcat like IIS, IIS primary role is to serve .asp or .aspx files or simple html.
|
|
|
07-09-2004, 11:30 PM
|
#13
|
Member
Registered: Mar 2004
Distribution: Ubuntu Feisty
Posts: 641
Rep:
|
Quote:
Originally posted by mrcheeks
if you are familiar with crosoft, think about jsp as asp, and think about tomcat like IIS, IIS primary role is to serve .asp or .aspx files or simple html.
|
How about servlets?
|
|
|
07-11-2004, 03:47 AM
|
#14
|
Member
Registered: Mar 2004
Distribution: Ubuntu Feisty
Posts: 641
Rep:
|
Quote:
Originally posted by subaruwrx
How about servlets?
|
|
|
|
07-13-2004, 06:21 AM
|
#15
|
Senior Member
Registered: Mar 2004
Location: far enough
Distribution: OS X 10.6.7
Posts: 1,690
Rep:
|
jsp are servlets to be...
for more info look at java.sun.com tutorials
|
|
|
All times are GMT -5. The time now is 06:27 PM.
|
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.
|
Latest Threads
LQ News
|
|