Wrox Programmer Forums
Go Back   Wrox Programmer Forums > Java > Java and JDK > JSP Basics
|
JSP Basics Beginning-level questions on JSP. More advanced coders should post to Pro JSP.
Welcome to the p2p.wrox.com Forums.

You are currently viewing the JSP Basics section of the Wrox Programmer to Programmer discussions. This is a community of software programmers and website developers including Wrox book authors and readers. New member registration was closed in 2019. New posts were shut off and the site was archived into this static format as of October 1, 2020. If you require technical support for a Wrox book please contact http://hub.wiley.com
 
Old March 21st, 2004, 05:44 PM
Registered User
 
Join Date: Mar 2004
Posts: 2
Thanks: 0
Thanked 0 Times in 0 Posts
Default Tomcat 4.1.30 with Windows 2000 IIS

Hi there,

I am new to the JSP world. I am tring to make my first JSP program working. I've got IIS server (Windows 2000) installed on my PC and it works fine. According to the instructions in the Chapter 1 of this book, I installed Java SDK 1.3 and Tomcat 4.1.30 into the system. However, the browser could not display the expected result on "http://localhost:8080/". The message "Web site found ... " and then "Done" showed on the status bar of the browser. The error "The page cannot be displayed" displayed on the browser afterwards. The case still even I stop the IIS server.

I wonder if I need to do something like "configure Tomcat with IIS". If so, could you please provide the instructions?

Thanks in advance.


Namy
 
Old March 22nd, 2004, 01:07 AM
Authorized User
 
Join Date: Jul 2003
Posts: 62
Thanks: 0
Thanked 0 Times in 0 Posts
Default

Windows 2000 IIS is used for ASP,not JSP.You can download Tomcat from http://jakarta.apache.org/tomcat/ ,then after installed it,you put your JSP page into directory of Tomcat/webapps/ROOT,then start Tomcat.
Hope this help.
Best regards,
Edward

 
Old March 23rd, 2004, 03:27 AM
Registered User
 
Join Date: Mar 2004
Posts: 2
Thanks: 0
Thanked 0 Times in 0 Posts
Default

Thanks Edward for your kindly message.

You are right. I did install IIS for ASP development. Now I'd like to try JSP and had installed the Tomcat according to the instructions in this book. But it did not work. I could not even see the index.jsp in the ROOT directory, instead, a "Page not found" message. Do I need to do some extra configuration and/or settings?

Thanks,

Namy


 
Old March 25th, 2004, 07:35 AM
Friend of Wrox
 
Join Date: Jun 2003
Posts: 175
Thanks: 0
Thanked 0 Times in 0 Posts
Default

I run IIS and Tomcat on the same machine.

Have you remembered to start Tomcat? Have you got the Tomcat icon in the status bar to confirm that it has started OK? If no, then try to start Tomcat manually: C:\jakarta-tomcat-5.0.12\bin\startup.bat

Once you have verified that Tomcat is started then type the following into your browser:

http://localhost:8080/index.jsp

You should be at the startup screen.

Cheers

Martyn





Similar Threads
Thread Thread Starter Forum Replies Last Post
Configuring Tomcat 5.0 and IIS 5.1 bettyb1656 BOOK: Professional Apache Tomcat 3 May 30th, 2006 12:40 AM
Tomcat 5.5 and IIS 5.0 coops182 Apache Tomcat 0 May 11th, 2006 06:25 AM
Tomcat 5 and IIS 5 mgrantham BOOK: Professional Apache Tomcat 1 July 5th, 2005 08:54 AM
COM component pooling on IIS 5, windows 2000 CottonGear Classic ASP Components 0 April 19th, 2004 02:25 AM
Windows 2000 and SQL 2000 in Korean Language mipo SQL Server 2000 0 February 19th, 2004 12:50 PM





Powered by vBulletin®
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.
Copyright (c) 2020 John Wiley & Sons, Inc.