It's java, not Orion you have trouble with ...

Make your "Test" servlet class belong to package "pack" named after your
folder name.
Refer to the servlet class as pack.Test in URL or in web.xml to set a
servlet mapping:
   <servlet-mapping>
         <servlet-name>AliasForTestClass</servlet-name>
         <url-pattern>/pack.Test</url-pattern>
        </servlet-mapping>

~boris

Yi Su wrote:

> Hi all,
>
> I've successfully deployed an web application to orion
> server.  I have the following file structure:
>
> e:\myapp\META-INF\application.xml
> e:\myapp\myapp-web\WEB-INF\web.xml
> e:\myapp\myapp-web\WEB-INF\classes\pack\Test.class
>
> However, the orion server forces me to put my
> Test.class (pack\Test.class) under
> \orion\default-web-app/WEB-INF/classes.  Otherwise the
> server throws me "500 Internal Server Error" error
> message.
>
> I follow the way of depolying in orion-primer, but my
> application doesn't have EJB module.  Can someone
> please help me to solve the problem as putting classes
> under orion default-web-app does give me trouble.  I
> must miss something.
>
> Thank you.
>
> Yeoman
>
> __________________________________________________
> Do You Yahoo!?
> Yahoo! Messenger - Talk while you surf!  It's FREE.
> http://im.yahoo.com/


Reply via email to