Your application.xml looks incorrect (can't tell for sure without directory
structure). My suspicion is that it should read like:

        <web-uri>static-example-web</web-uri>
        <context-root>/<context-root>

You may also check your orion-application.xml in your
application-deployments to make sue it contains the correct info ...

        --peter

-----Original Message-----
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED]]On Behalf Of Joe Fair
Sent: Thursday, May 24, 2001 8: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