You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@tomcat.apache.org by Frank Lawlor <fr...@athensgroup.com> on 2001/05/08 20:21:00 UTC

Inconsistent JSP Compilation Behavior

I'm using TOMCAT Version 3.1.1 in IBM VisualAge Java environment.

After developing for a while I find that my JSPs with code like:

   <jsp:useBean id="Foo" ...
   <% String s = Foo.someMethod(); %>
   ...
   <%= s %.
   ...

Stops working properly.  What happens is the compile JSP
generates a .java file without the code for the <% String =...
resulting in a compiler error that s is not define.

Stopping and restarting Tomcat and VAJ don't help.  Re-booting
does.

Any suggestions?

Frank Lawlor
Athens Group, Inc.
(512) 345-0600 x151
Athens Group, an employee-owned consulting firm integrating technology
strategy and software solutions.