Results 1 to 5 of 5

Thread: Problem in running JSP pages in windows XP

  1. #1
    Join Date
    Dec 2009
    Posts
    23

    Problem in running JSP pages in windows XP

    Hi,
    I am student, I am doing web based project, in that project I use JSP as server pages and SQL 2000 fo database. But the I am no able to run java server pages on my computer, my computer is not a server but I want to treat my computer as server for running these pages. In my computer I use Windows XP and I thing in Windows XP I can change my computer as server. But the problem is I am not doing this before and I don’t know how to make my computer as server. So can anyone assist me how to run JSP pages in windows XP?

  2. #2
    Join Date
    Apr 2008
    Posts
    1,948

    Re: Problem in running JSP pages in windows XP

    I tell how to run JSP pages on your local machine, for running JSP pages we have to make our computer as server for that you have to installed Tomcat Server 6.0 use using this you can make your computer as server using this you can run your JSP pages in your system. Use following steps for running JSP pages
    • Locate your Tomcat directory. In Tomcat folder you get webapps folder in that folder you installed your entire project files. Assuming you install your project in C:\Tomcat\webapps\ this folder. In this directory you make new JSP files.
    • Assume your project in “testpro”, now your project path is C:\Tomcat\webapps\testpro and in “testpro” folder you installed your all project files.
    • Then run your index page or main html page.

  3. #3
    Join Date
    May 2008
    Posts
    2,012

    Re: Problem in running JSP pages in windows XP

    Installing Tomcat server on the windows machine for that you have to take help from Windows installer. This easy to installed Tomcat server this is similar that other wizard based installers Tomcat server will be installed as a Windows XP without any matter, all the setting done by the checkbox on the component page if you set setup as a AUTO then Tomcat is automatically started when Windows starts.
    • Tomcat installer needs the JAVA_HOME environment variable to make a setup path of JRE.
    • There is no need to run Tomcat server when you start your machine it will automatically run even no need to when choosing to run Tomcat at the end of installation.
    • Installer crates the shortcut icon for starting and configuring the TOMCAT.

  4. #4
    Join Date
    Apr 2008
    Posts
    2,005

    Re: Problem in running JSP pages in windows XP

    Java Server Pages is a Sun Micros product and this is platform independent so there is no problem if you use Java Server Pages on Window XP. Then Java Server Pages is use for making dynamic HTML pages. Using Java Server Pages we can present our data dynamically, and also we use Java Server Pages for making data base connectivity, for making data base connectivity in JAVA we use JDBC.

  5. #5
    Join Date
    May 2008
    Posts
    2,297

    Re: Problem in running JSP pages in windows XP

    For running your web base application with the JSP then you have to store all the files in the root directory because if you not store your project in the root directory then your virtual server not able to find the JSP pages in localhost. And by default java run on 8080 localhost port. But for that you have to

Similar Threads

  1. How to get sub domains to work for PHP pages running IIS 7
    By Eseld in forum Technology & Internet
    Replies: 6
    Last Post: 19-06-2011, 10:17 PM
  2. Replies: 6
    Last Post: 02-06-2011, 10:08 PM
  3. Silverlight is installed but not running on web pages
    By Bohdan in forum Technology & Internet
    Replies: 5
    Last Post: 19-04-2011, 10:27 PM
  4. Problem while running CWshredder on Windows Xp
    By abbase in forum Networking & Security
    Replies: 3
    Last Post: 09-11-2009, 02:52 PM
  5. Problem running sims 2 on Windows Vista Ultimate
    By jim120 in forum Video Games
    Replies: 3
    Last Post: 20-12-2008, 11:07 PM

Tags for this Thread

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
Page generated in 1,713,928,811.40218 seconds with 16 queries