You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@tomcat.apache.org by bu...@apache.org on 2003/01/31 15:45:37 UTC

DO NOT REPLY [Bug 16641] New: - can't source classes from jsp

DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG 
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://nagoya.apache.org/bugzilla/show_bug.cgi?id=16641>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND 
INSERTED IN THE BUG DATABASE.

http://nagoya.apache.org/bugzilla/show_bug.cgi?id=16641

can't source classes from jsp

           Summary: can't source classes from jsp
           Product: Tomcat 4
           Version: 4.1.18
          Platform: PC
               URL: http://www.gdls.com
        OS/Version: Windows NT/2K
            Status: NEW
          Severity: Blocker
          Priority: Other
         Component: Unknown
        AssignedTo: tomcat-dev@jakarta.apache.org
        ReportedBy: rnichol7@csc.com


I am trying to source a class as follows:
<% myFormatter fm = new myFormatter(); %>
It works with Tomcat version 3.x but not with 4.x the error is:
  "C:\Apache\Tomcat_4.1work\Standalone\localhost\prodAborts\create_ticket_jsp.ja
va:88: cannot resolve symbol
  symbol  : class myFormatter  
  location: class org.apache.jsp.create_ticket_jsp
  myFormatter nb = new myFormatter();" 
However, when I use the EXACT same .war file with 3.2 it works fine.  
Incidentlty when I drop back to version 3.2, I can no longer include files like:

 <%@ include file = "./global/abortsDB.jsp" %>

I can provide the .war file if you need to see the code

---------------------------------------------------------------------
To unsubscribe, e-mail: tomcat-dev-unsubscribe@jakarta.apache.org
For additional commands, e-mail: tomcat-dev-help@jakarta.apache.org