I believe that you should have your package (jar) in the orion/lib
directory,
from your message it seems that you have it in WEB-INF/classes. That 
directory is usually for servlets.
Eric.

-----Original Message-----
From: Joe Fair [mailto:[EMAIL PROTECTED]]
Sent: Thursday, May 24, 2001 7:57 AM
To: Orion-Interest
Subject: JSP can't use local classes - What am I overlooking?


In my application I am not able to use the local
classes in my jsp.  Whenever I put in:

<%@ page import="com.theseus.*"  %>

I get:

Error parsing JSP page /m2/pagetwo.jsp

Syntax error in source/pagetwo.jsp.java:5: Package
com.theseus not found in import.
import com.theseus.*;
       ^
1 error

I have compiled the classes and verified that they are
in the build directory under WEB-INF/classes.
Here's my application.xml

<application>

   <display-name>Static Theseus Example</display-name>

   <description>Static Theseus Example</description>

   <module>
      <web>
         <web-uri>static-example-web.war</web-uri>
        
<context-root>static-example-web</context-root>
      </web>
   </module>

</application>

What am I leaving out?
Thanks in advance,
Joe


__________________________________________________
Do You Yahoo!?
Yahoo! Auctions - buy the things you want at great prices
http://auctions.yahoo.com/

Reply via email to