Wrox Programmer Forums
Go Back   Wrox Programmer Forums > Java > Java Open Source > Apache Tomcat
Apache Tomcat General discussion of the Apache Tomcat servlet container. For discussions specific to the Professional Apache Tomcat book, please see the book discussion forum for that book.
Welcome to the p2p.wrox.com Forums.

You are currently viewing the Apache Tomcat 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 June 11th, 2004, 07:28 AM
Registered User
Join Date: Jun 2004
Posts: 1
Thanks: 0
Thanked 0 Times in 0 Posts
Default tomcat jsp pre-compilation


when i pre-compile my jsps, i found that Tomcat only likes them when they are compiled with the package "org.apache.jsp".

if i change the generated *_jsp.java files (before compiling) to a different package that is anything but "org.apache.jsp", Tomcat fails to load them when I try to access the page.

Tomcat (4.1.x) seems to have hard-coded logic inside to only work with jsp class files packaged under org.apache.jsp.

has anyone found a workaround for this, so that we are not restricted to compile all jsp's to the package org.apache.jsp?

is this a setting/configuration we can tweak on Tomcat?

thanks in advance!!

Similar Threads
Thread Thread Starter Forum Replies Last Post
Jsp compilation error vikas1983 BOOK: Beginning Spring Framework 2 ISBN: 978-0-470-10161-2 0 November 10th, 2008 08:23 AM
Pre-compilation errors CRONER BOOK: ASP.NET 2.0 Website Programming Problem Design Solution ISBN: 978-0-7645-8464-0 0 August 6th, 2007 10:15 PM
JSP Compilation Problem devteam JSP Basics 1 January 13th, 2006 02:13 PM
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

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