You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@tomcat.apache.org by Chris Shen <em...@hotmail.com> on 2002/05/07 00:18:25 UTC

web-inf/classes

this is a bizzare one. i've placed all my classes under the web-inf/classes
with the appropriate class structure and everything, and it was working fine
on my tomcat 3.3. yet, after i migrated it to 4.03, i tried to run it the
first time and compiled it, and i kept on getting:
"org.apache.jasper.JasperException: Unable to compile class for JSP
C:\jakarta-tomcat-4.0.3\work\localhost\webauth\successfulLogin$jsp.java:3:
Package ant.uci.edu not found in import.
import ant.uci.edu.*;"

i did place my class directory ant\uci\edu under web-inf\classes...any
idea???

Chris

--
To unsubscribe, e-mail:   <ma...@jakarta.apache.org>
For additional commands, e-mail: <ma...@jakarta.apache.org>


Re: web-inf/classes

Posted by chuck amadi <ch...@breconbeacons.org>.
Chris Shen wrote:

>this is a bizzare one. i've placed all my classes under the web-inf/classes
>with the appropriate class structure and everything, and it was working fine
>on my tomcat 3.3. yet, after i migrated it to 4.03, i tried to run it the
>first time and compiled it, and i kept on getting:
>"org.apache.jasper.JasperException: Unable to compile class for JSP
>C:\jakarta-tomcat-4.0.3\work\localhost\webauth\successfulLogin$jsp.java:3:
>Package ant.uci.edu not found in import.
>import ant.uci.edu.*;"
>
>i did place my class directory ant\uci\edu under web-inf\classes...any
>idea???
>
>Chris
>
>--
>To unsubscribe, e-mail:   <ma...@jakarta.apache.org>
>For additional commands, e-mail: <ma...@jakarta.apache.org>
>
Hi there try putting <%@ page import="ant\uci\edu" %>

Your complete dir path of your .class file in your jsp page ( page 
directive) as a apparently the class loader points to classes default 
package in j-tomcat3.3a but you can't get away from it in j-tomcat4 
upwards . I had a similar problem thus useing tomcat3.3.a for now and 
i'll upgrade and use the  classes dir path and page import directive as 
told via this user-help group.

Cheers Chuck Amadi
Sustems Programmer
Rhaglennydd Systemau




--
To unsubscribe, e-mail:   <ma...@jakarta.apache.org>
For additional commands, e-mail: <ma...@jakarta.apache.org>


method POST is not allowed

Posted by Emilio Miranda <em...@atos-ods.com.pe>.
Hello.

My Tomcat was working fine but suddenly apear this message when I try to
login to my aplication.

" Method Not Allowed
The requested method POST is not allowed for the URL /mkg/jsp/login.jsp.

----------------------------------------------------------------------------
----

Apache/1.3.20 Server at 127.0.0.1 Port 80 "

Working Tomcat 4.0.3
Linux Red Hat 7.2
JSDK 1.4
		Could anybody help me?

Thanks a lot



--
To unsubscribe, e-mail:   <ma...@jakarta.apache.org>
For additional commands, e-mail: <ma...@jakarta.apache.org>


Re: web-inf/classes

Posted by Paul DuBois <pa...@snake.net>.
At 15:18 -0700 5/6/02, Chris Shen wrote:
>this is a bizzare one. i've placed all my classes under the web-inf/classes

Is it web-inf or WEB-INF?  If the former, rename it.

>with the appropriate class structure and everything, and it was working fine
>on my tomcat 3.3. yet, after i migrated it to 4.03, i tried to run it the
>first time and compiled it, and i kept on getting:
>"org.apache.jasper.JasperException: Unable to compile class for JSP
>C:\jakarta-tomcat-4.0.3\work\localhost\webauth\successfulLogin$jsp.java:3:
>Package ant.uci.edu not found in import.
>import ant.uci.edu.*;"
>
>i did place my class directory ant\uci\edu under web-inf\classes...any
>idea???
>
>Chris


--
To unsubscribe, e-mail:   <ma...@jakarta.apache.org>
For additional commands, e-mail: <ma...@jakarta.apache.org>