Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations gkittelson on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

beginning with jsp on apache/linux

Status
Not open for further replies.

gwu

MIS
Dec 18, 2002
239
US
I would like to run jsp pages on my RH9 apache 2 instalation. I am a little confused on what I need to do this. I have succesfully installed apache 2 from source, what do I do now? What software do I need?

Isnt it like adding php to apache ?

thanks
 
thank you. Can you explain to me real quickly what tomcat is as opposed to apache. Is tomcat an extention to the apache web server or is it a server in itself?

thanks
 
Apache Http server is a web server that will serve static html and images (with no mods).

Apache Jakarta Tomcat is a servlet container for compiling JSP and running servlets and generating dynamic web pages.
 
Is JSP java's version of asp, no compilation needed?

What are the differences between asp/php v jsp?

Is JSP a good substitute for ASP?

 
I have followed the instructions on and I am getting an error when I try this command:
*****
>./bin/jsvc -Djava.endorsed.dirs=./common/endorsed -cp ./bin/bootstrap.jar -outfile ./logs/catalina.out -errfile ./logs/catalina.err org.apache.catalina.startup.Bootstrap

jsvc error: Cannot find any VM in Java Home /usr/java
Segmentation fault
>
*****

when I tried ./configure a couple of steps back, I got an error saying:
****
configure: error: Java Home not defined. Rerun with --with-java=... parameter
*****
so I used this command:
******
./configure --with-java=/usr/java/j2sdk1.4.2_03
******
could this have anything to do with it?


thanks
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top