My PC doesn't understand .JSP extensions
How do I get my computer to understand JS Pages that I write?
I have installed Forte4j and JRun 3.0. These are JSP editors, however, my PC doesn't know what I'm talking about. I have also downloaded Apache Tomcat 3.2.3 and have added the necessary CLASSPATH and JAVA_HOME roots. But these things have not helped my PC understand JSP technology.
On a different note, originally, when I was surfing the web for a Tomcat application, I found a site that offered an installation package. You know, a tomcat.exe setup. I haven't been able to find that page (or file) since. Does anyone know of any? (Added info, when I executed the tomcat setup file, it taught my PC about JS Pages. However, that was on a different PC.)
Pretty basic questions, but hey, if you don't know it, it's hard stuff!!!
Thanks,
Moshe
[852 byte] By [
Shtarkman] at [2007-9-26 2:16:00]

Hi,
JSP is not a document/script...Its a CGI program...
JSP is a server side program.. This means.. You need to configure tomcat/JRun (not both) to be your (Web Server). Place a JSP file in a certain directory...Use a web browser point to the respective URL in order to execute the program...The output will be shown on the web browser...
I recommend you try out resin... small & easy to configure for a first timer like you:
http://www.caucho.com/ Home page for company
http://www.caucho.com/products/resin/ -- Home page for resin..
Boon Pang
ongbp at 2007-6-29 9:13:51 >

If you only want to be able to test .jsp files locally you can just install Tomcat (Installing consists of getting the .zip file, unzipping it to a directory, and voila ;-).) There should be a file startup.bat in the bin directory of your tomcat installation, which you will need to run in order to start tomcat.
You should be able to surf to: http://localhost:8080/ which is the default port for tomcat, once that tomcat has been started.
You can now experiment with .jsp files and even with Servlets playing with Tomcat on port 8080. If you want to go a step further and want to have .jsp pages available on port 80 there are two choices:
- Install Apache (Or other webserver, but Apache is quite easy for this) and hook Tomcat up to Apache.
- Change the default port for Tomcat and run Tomcat on port 80 instead of port 8080.
I hope that this has helped you a bit. There are some other threads on how to make Tomcat work with Apache in this forum.
-Krakkat