LinuxQuestions.org
Register a domain and help support LQ
Go Back   LinuxQuestions.org > Forums > Non-*NIX Forums > Programming
User Name
Password
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

Reply
 
Search this Thread
Old 06-16-2004, 03:00 PM   #1
redhatgeek
LQ Newbie
 
Registered: Jun 2004
Distribution: redhat/fedora
Posts: 24

Rep: Reputation: 15
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.
 
Old 06-16-2004, 04:12 PM   #2
coolman0stress
Member
 
Registered: Jun 2003
Location: Toronto, Ontario, Canada
Posts: 288

Rep: Reputation: 30
No, Tomcat can act as a standalone and you don't need to integrate it with the regular apache http server.
 
Old 06-17-2004, 12:45 AM   #3
Browndog
LQ Newbie
 
Registered: Jun 2003
Posts: 8

Rep: Reputation: 0
however there are plently of reasons why you should intergrate them, and it can be done without to much trouble, I have done it.
 
Old 06-18-2004, 06:41 AM   #4
subaruwrx
Member
 
Registered: Mar 2004
Distribution: Ubuntu Feisty
Posts: 641

Rep: Reputation: 30
Whats the difference between tomcat and apache?
 
Old 06-18-2004, 09:07 PM   #5
coolman0stress
Member
 
Registered: Jun 2003
Location: Toronto, Ontario, Canada
Posts: 288

Rep: Reputation: 30
Tomcat is a Java web container implementation. That means you can run Servlets and JSP on it. The regular Apache can't.
 
Old 06-19-2004, 02:15 AM   #6
subaruwrx
Member
 
Registered: Mar 2004
Distribution: Ubuntu Feisty
Posts: 641

Rep: Reputation: 30
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?
 
Old 06-19-2004, 10:54 AM   #7
coolman0stress
Member
 
Registered: Jun 2003
Location: Toronto, Ontario, Canada
Posts: 288

Rep: Reputation: 30
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
 
Old 06-20-2004, 02:25 AM   #8
subaruwrx
Member
 
Registered: Mar 2004
Distribution: Ubuntu Feisty
Posts: 641

Rep: Reputation: 30
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.
 
Old 06-20-2004, 11:28 AM   #9
coolman0stress
Member
 
Registered: Jun 2003
Location: Toronto, Ontario, Canada
Posts: 288

Rep: Reputation: 30
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).
 
Old 06-20-2004, 11:41 AM   #10
mrcheeks
Senior Member
 
Registered: Mar 2004
Location: far enough
Distribution: OS X 10.6.7
Posts: 1,690

Rep: Reputation: 50
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.
 
Old 07-09-2004, 03:06 AM   #11
subaruwrx
Member
 
Registered: Mar 2004
Distribution: Ubuntu Feisty
Posts: 641

Rep: Reputation: 30
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?
 
Old 07-09-2004, 02:13 PM   #12
mrcheeks
Senior Member
 
Registered: Mar 2004
Location: far enough
Distribution: OS X 10.6.7
Posts: 1,690

Rep: Reputation: 50
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.
 
Old 07-09-2004, 11:30 PM   #13
subaruwrx
Member
 
Registered: Mar 2004
Distribution: Ubuntu Feisty
Posts: 641

Rep: Reputation: 30
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?
 
Old 07-11-2004, 03:47 AM   #14
subaruwrx
Member
 
Registered: Mar 2004
Distribution: Ubuntu Feisty
Posts: 641

Rep: Reputation: 30
Quote:
Originally posted by subaruwrx
How about servlets?
 
Old 07-13-2004, 06:21 AM   #15
mrcheeks
Senior Member
 
Registered: Mar 2004
Location: far enough
Distribution: OS X 10.6.7
Posts: 1,690

Rep: Reputation: 50
jsp are servlets to be...
for more info look at java.sun.com tutorials
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
about Jakarta Struts, Jsp's and Tomcat.... problem iterating in a jsp poeta_boy Programming 2 09-06-2005 02:36 PM
Jakarta Tomcat 5.0.27 is running slow mehesque Linux - Software 0 07-27-2004 01:35 PM
Problem: SuSE 9.0, J2SDK 1.4.2_4, Jakarta Tomcat 5.0.19 jsokko Linux - Distributions 3 03-29-2004 01:35 PM
Tomcat jakarta server is shutting down after particular time period(critical) fmohideen76 Linux - General 1 07-11-2002 06:10 AM
Help plz. about tomcat jakarta in linux machine Harish_f Linux - General 1 06-19-2002 01:02 AM


All times are GMT -5. The time now is 05:50 AM.

Main Menu
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration