LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Programming (https://www.linuxquestions.org/questions/programming-9/)
-   -   Tomcat Jakarta and HTML (https://www.linuxquestions.org/questions/programming-9/tomcat-jakarta-and-html-194284/)

redhatgeek 06-16-2004 03:00 PM

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.

coolman0stress 06-16-2004 04:12 PM

No, Tomcat can act as a standalone and you don't need to integrate it with the regular apache http server.

Browndog 06-17-2004 12:45 AM

however there are plently of reasons why you should intergrate them, and it can be done without to much trouble, I have done it.

subaruwrx 06-18-2004 06:41 AM

Whats the difference between tomcat and apache?

coolman0stress 06-18-2004 09:07 PM

Tomcat is a Java web container implementation. That means you can run Servlets and JSP on it. The regular Apache can't.

subaruwrx 06-19-2004 02:15 AM

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?

coolman0stress 06-19-2004 10:54 AM

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 :)

subaruwrx 06-20-2004 02:25 AM

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.

coolman0stress 06-20-2004 11:28 AM

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).

mrcheeks 06-20-2004 11:41 AM

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.

subaruwrx 07-09-2004 03:06 AM

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?

mrcheeks 07-09-2004 02:13 PM

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.

subaruwrx 07-09-2004 11:30 PM

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?

subaruwrx 07-11-2004 03:47 AM

Quote:

Originally posted by subaruwrx
How about servlets?

mrcheeks 07-13-2004 06:21 AM

jsp are servlets to be...
for more info look at java.sun.com tutorials


All times are GMT -5. The time now is 03:25 PM.