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 2006/05/14 13:51:32 UTC

DO NOT REPLY [Bug 39577] - JSPs in subdirectories can't access classes

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

http://issues.apache.org/bugzilla/show_bug.cgi?id=39577


rainer.jung@kippdata.de changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
         Resolution|                            |WORKSFORME




------- Additional Comments From rainer.jung@kippdata.de  2006-05-14 11:51 -------
This works for me (with a default configuration).

Please make sure, that 

- your compiled class com.mslinn.util.Test is up to date, so that it really
includes a method with the signature 
   com.mslinn.util.Test.test()Ljava/lang/String;
Note that the class could be found, but there was no method with the right
signature in there: java.lang.NoSuchMethodError.

- you called the right URL: your excepton stack indicates, that tomcat didn't
call /blah/x.jsp instead it called /x.jsp. So maybe the log entry does not
belong to the observed error. Try again with a clean setup.

- you don't have a context "blah" defined somewhere

- you inspect the Java source file jasper produced for /blah/x.jsp.
The file is located in
$CATALINA_BASE/work/<ENGINE_NAME,DEFAULT=Catalina>/<HOST_NAME,DEFAULT=localhost>/_/org/apache/jsp/blah/x_jsp.java

If you want to reopen the issue, please attach a self-contained war file.

-- 
Configure bugmail: http://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.

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