April 13, 2011

Run JSP pages on windows

Problem:
- How to run a web server for jsp pages on windows
- How to make a windows to a web host for JSP pages.

Solution:
1- JVM: You must have a JVM. You can check default folder C:\Program Files\Java\ for find a jdk1.5.0_06 or jdk1.6.0_10 or any version of SUN’s JDK
2- Tomcat: You need to have Tomcat and you can check the default folder C:\Program Files\Apache Software Foundation\ for find a Tomcat 5.5 or Tomcat 7.0. Choose exe instead of zip file from core section in Tomcat download page. (I choose 32-bit/64-bit Windows Service Installer from core section and select FULL installation option in install process). After install you can see the something in http://localhost:8080/ ;-)
3- RUN: Goto C:\Program Files\Apache Software Foundation\Tomcat 7.0\webapps and make a folder and put your JSP files here ;-)

References:
JVM: http://java.sun.com/javase/downloads/index.jsp
TOMCAT: http://tomcat.apache.org/download-70.cgi

No comments: