You should be able to do :

in orion/config/server.xml

<application name="myname" path="mypath">

in orion/config/default-web-site.xml :

  <web-app application="myname" name="web" root="/myname" />

The directory structure for your project would be :


mypath/META-INF/application.xml
mypath/web
mypath/web/index.html
mypath/web/WEB-INF/web.xml
mypath/web/WEB-INF/classes

Your application.xml would contain:

"application.xml" [Read only] 15 lines, 368 characters 
<?xml version="1.0"?>
<!DOCTYPE application PUBLIC "-//Sun Microsystems, Inc.//DTD J2EE
Application 1.2//EN" "http://java.sun.com/j2ee/dtds/application_1_
2.dtd">

<application>
        <display-name>MyApp</display-name>
                <web>
                        <web-uri>web</web-uri>
                        <context-root>/</context-root>
                </web>
        </module>
</application>



> -----Original Message-----
> From: [EMAIL PROTECTED] [SMTP:[EMAIL PROTECTED]]
> Sent: September 15, 2000 3:22 AM
> To:   Orion-Interest
> Subject:      create a web-app not through a .ear ??
> 
> Hello:
> 
> I know orion is a very nice J2EE Application Server.
> It can auto-deploy our distributing application through a .ear package.
> But in my some projects I only use JSP and Servlets no any EJB.
> How do I create a web-app not through a .ear package in orion ?
> 
> Thanks in advance.
> 
> (2000/9/15 AM 08:46:42)
> [EMAIL PROTECTED]
> 
> 
> ==========================================================
>  PC home �K�O�q�l�H�c�A�ӽнЦ�: http://www.pchome.com.tw 
>  PC home Online �����a�x�@�@ �|���Ĥ@�A�x�W�̤j���J�f���� 
> ==========================================================

Reply via email to