Wrox Programmer Forums

Need to download code?

View our list of code downloads.

Go Back   Wrox Programmer Forums > Java > Java and JDK > JSP Basics
Password Reminder
| FAQ | Members List | Search | Today's Posts | Mark Forums Read
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 tens of thousands of software programmers and website developers including Wrox book authors and readers. As a guest, you can read any forum posting. By joining today you can post your own programming questions, respond to other developers’ questions, and eliminate the ads that are displayed to guests. Registration is fast, simple and absolutely free .
DRM-free e-books 300x50
Thread Tools Search this Thread Display Modes
  #1 (permalink)  
Old July 28th, 2004, 04:01 PM
Registered User
Join Date: Jul 2004
Location: , , .
Posts: 5
Thanks: 0
Thanked 0 Times in 0 Posts
Default Chapter 1 - First JSP is not seen by Tomcat

Get HTTP 404 error when trying to 'see' first JSP file as described in the WROX book 'Beginning JSP Web Development'. This is the JSP file 'index.jsp' and I am following the books instructions, even restarting Tomcat yet the JSP can not be found. Tomcat examples work fine with no trouble. Any ideas?

Reply With Quote
  #2 (permalink)  
Old July 29th, 2004, 11:56 AM
Registered User
Join Date: Jul 2004
Location: , , .
Posts: 5
Thanks: 0
Thanked 0 Times in 0 Posts

 I figured it out!! I recreated the file via Notepad but saved it as an ASCII file instead of the default Text file and hence I can specify the extension without Notepad putting the .txt on the end as well. It was the .txt extension added by Notepad that was causing my problem....the URL I was using had index.jsp but what really was needed was index.jsp.txt.

Reply With Quote

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Trackbacks are Off
Pingbacks are On
Refbacks are Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
I WANT TO RUN JSP ON TOMCAT! reddikishore BOOK: Beginning Java 2 0 July 1st, 2007 08:17 AM
Running JSP in Tomcat. javamaniac JSP Basics 6 December 17th, 2005 08:10 PM
run jsp on tomcat devyani JSP Basics 3 July 4th, 2005 05:26 AM
jsp in tomcat damo Apache Tomcat 1 February 15th, 2005 01:32 PM
Iam still in JSP 1.2 and using Tomcat 4.1 dotnetwhizkid JSP Basics 1 August 9th, 2004 07:40 AM

All times are GMT -4. The time now is 12:58 AM.

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