You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@tomcat.apache.org by BB...@sjm.com on 2001/12/11 20:02:24 UTC

RE: Change an include file requires re-compiling all JSP that inc lude it (?)

		They should be in the work folder right under your tomcat
directory.

				-----Original Message-----
				From:	Scott Hodson
[mailto:scott@ubero.com]
				Sent:	Tuesday, December 11, 2001 12:59 PM
				To:	Tomcat Users List
				Subject:	RE: Change an include file
requires re-compiling all JSP that include it (?)

				1) Where do they go?  I don't see them
anywhere under my webapp's folder (I
				thought they go in WEB-INF/classes but
they're not there)

				2) Blech, that's what I do now.  If I have
100 JSP files all including the
				same header file I'm doomed!

				-----Original Message-----
				From: James Chuang
[mailto:dreadlord76@earthlink.net]
				Sent: Tuesday, December 11, 2001 10:06 AM
				To: Tomcat Users List
				Subject: Re: Change an include file requires
re-compiling all JSP that
				include it (?)


				A couple of things you can do, both would be
easier than resaving all the
				JSPs

				1. Delete the generated class files...

				2. Touch the JSP files.


				----- Original Message -----
				From: "Scott Hodson" <sc...@ubero.com>
				To: "Tomcat User"
<to...@jakarta.apache.org>
				Sent: Tuesday, December 11, 2001 10:00 AM
				Subject: Change an include file requires
re-compiling all JSP that include
				it (?)


				> I come from an ASP background where we
would frequently change include
				files
				> and see the results immediately.  However,
in JSP, since JSP pages are
				> compiled into servlet classes, if I change
an include file the JSP file
				> including it won't get re-compiled because
the JSP hasn't changed, just
				the
				> include file.  Even if I restart Tomcat it
still won't recompile the JSPs.
				> So for now every time I make a change to
an include file I have to re-save
				> all of my JSPs so Tomcat forces a
recompile.  That's a big pain.
				>
				> Can somebody help me out here?  Is there a
way to force re-compilation of
				> JSPs if the files they include ever
change?
				> ___________________________
				>
				> Scott Hodson
				> (949) 709-4496 office
				> (949) 709-3890 fax
				> scott@ubero.com
				> http://www.ubero.com
				>
				>
				>


				--
				To unsubscribe:
<ma...@jakarta.apache.org>
				For additional commands:
<ma...@jakarta.apache.org>
				Troubles with the list:
<ma...@jakarta.apache.org>



				--
				To unsubscribe:
<ma...@jakarta.apache.org>
				For additional commands:
<ma...@jakarta.apache.org>
				Troubles with the list:
<ma...@jakarta.apache.org>

--
To unsubscribe:   <ma...@jakarta.apache.org>
For additional commands: <ma...@jakarta.apache.org>
Troubles with the list: <ma...@jakarta.apache.org>