You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@tomcat.apache.org by Michael Quinn <mq...@myturn.com> on 2000/07/21 18:48:56 UTC

Tomcat Doesn't rebuild JSP

I have various jsp files that had the tag..
<jsp:useBean id="user" scope="session" class="User" />

Now with the jsp specification, the class needs to be the fully qualified
classpath (com.globalpc.beans.User)…
<jsp:useBean id="user" scope="session" class="com.globalpc.beans.User" />

The problem is that the java files generated from the JSP in tomcat/work/
aren’t getting rebuilt.
I know this because if I restart tomcat.. it still tells me (Cannot create
Bean), but If I delete all the java files in the /tomcat/work/
Directory then stop and start Tomcat.. the error message goes away, and the
bean works perfectly..

Shouldn’t Tomcat automatically regenerate this JSP?

_______________
Michael Quinn
Software Engineer
MyTurn.com
Text Paging http://atlas.globalpc.com/directpager.html
Voice 510-263-4855
Fax 510-263-4999
Cell 510-469-7532
http://www.myturn.com


1080 Marina Village Parkway
Alameda, CA 94501


RE: Tomcat Doesn't rebuild JSP

Posted by "Rob S." <rs...@home.com>.
Hi Michael,

I had/have the same problem.  During heavy development(i.e. lots of class
reloading req'd), I find that I have to occasionally restart Tomcat after
clearing out its cache.  Just a, "you're not the only one" email I suppose
;)

- r
  -----Original Message-----
  From: Michael Quinn [mailto:mquinn@myturn.com]
  Sent: July 21, 2000 9:49 AM
  To: tomcat-user@jakarta.apache.org
  Subject: Tomcat Doesn't rebuild JSP


  I have various jsp files that had the tag..

  <jsp:useBean id="user" scope="session" class="User" />



  Now with the jsp specification, the class needs to be the fully qualified
classpath (com.globalpc.beans.User)…

  <jsp:useBean id="user" scope="session" class="com.globalpc.beans.User" />



  The problem is that the java files generated from the JSP in tomcat/work/
aren’t getting rebuilt.

  I know this because if I restart tomcat.. it still tells me (Cannot create
Bean), but If I delete all the java files in the /tomcat/work/

  Directory then stop and start Tomcat.. the error message goes away, and
the bean works perfectly..



  Shouldn’t Tomcat automatically regenerate this JSP?



  _______________

  Michael Quinn

  Software Engineer

  MyTurn.com

  Text Paging http://atlas.globalpc.com/directpager.html

  Voice 510-263-4855

  Fax 510-263-4999

  Cell 510-469-7532

  http://www.myturn.com





  1080 Marina Village Parkway

  Alameda, CA 94501