"JSP technology is an extension of the servlet technology created to support authoring of HTML and XML pages."

If you've ever written servlets, you know what a tremendous pain it is to write and maintain all those out.println() statements. JSP was designed to allow more HTML-centric (aka presentation-side) people to create pages that get turned into servlets that are compiled into bytecode for the java interpreter to interpret. If you peek around the work directory, you'll find an XXX_jsp.java and an XXX_jsp.class file for every JSP.

That's why a JRE isn't enough-- you need a compiler from the JDK to compile the JSP into servlets.

Phew!

HTH,

-Anthony

On Nov 16, 2004, at 10:27 AM, Allistair Crossley wrote:

go on Anthony .. you deserve it :) lol


-----Original Message-----
From: Hubble, Christopher [mailto:[EMAIL PROTECTED]
Sent: 16 November 2004 15:20
To: 'Tomcat Users List'
Subject: RE: Tomcat JRE vs JDK Issue


Feel free to explain. :)

Chris

-----Original Message-----
From: Anthony E. Carlos [mailto:[EMAIL PROTECTED]
Sent: Tuesday, November 16, 2004 10:23 AM
To: Tomcat Users List
Subject: Re: Tomcat JRE vs JDK Issue


Chris:

I think TC requires the JDK (not just the JRE) so that it can compile
JSPs. If this doesn't make sense, I can explain further.

-Anthony Carlos

On Nov 16, 2004, at 10:17 AM, Allistair Crossley wrote:

does the client machine have JAVA_HOME as an environment variable?

-----Original Message-----
From: Hubble, Christopher [mailto:[EMAIL PROTECTED]
Sent: 16 November 2004 15:09
To: [EMAIL PROTECTED]
Subject: Tomcat JRE vs JDK Issue


I'm trying to run Tomcat 5.0.28 on W2k client machine. On my machine, it runs fine, with no problems. But when I copy it over to the client machine, which has the 1.4.2_05 JRE on it, Tomcat won't run, and says that it requires the JDK. Why is this, and is there a workaround, or do I have to install the JDK? I don't remember having this issue with 4.x. Is it 5.x specific? TIA.

Chris


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]




<FONT SIZE=1 FACE="VERDANA,ARIAL" COLOR=BLUE>
-------------------------------------------------------
QAS Ltd.
Developers of QuickAddress Software
<a href="http://www.qas.com";>www.qas.com</a>
Registered in England: No 2582055
Registered in Australia: No 082 851 474
-------------------------------------------------------
</FONT>


--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]


--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]


--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]



Reply via email to