I am developing several small Servlet / JSP
Web applications and testing them under different servers. I don't have a clue
how to get Orion to recognize my application unless I package it all up into an
EAR file and put it into the applications directory. What I want to do is to
point Orion to my work directory and have it run the app from there. I do that
now with other servers and it works just fine.
For the sake of this message, I have created the
following structure on my Windows 2000 box.
C:\work\mytest
C:\work\mytest\index.html
C:\work\mytest\web-inf
C:\work\mytest\web-inf\web.xml
The index.html file says 'Hello, world!' and the
web.xml file has the following in it:
<?xml version="1.0"?> <!DOCTYPE web-app PUBLIC "-//Sun Microsystems, Inc.//DTD Web Application 2.2//EN" "http://java.sun.com/j2ee/dtds/web-app_2_2.dtd"> <web-app> <display-name>Test Application</display-name> </web-app> To run the app from Tomcat I add the following line
to conf/server.xml:
<Context path="/mytest" docBase="C:/work/mytest" debug="0" reloadable="true" /> To run the app from Resin I add the following line to conf/resin.conf: <web-app id='mytest' app-dir='/work/mytest'></web-app> To run the app from Weblogic I add the following line to weblogic.properties: weblogic.httpd.webApp.mytest=c:/work/mytest I do not have a clue how to point Orion to this simple app and have it run. I have tried on and off over several months with no success. Why is this so hard to do? Bryant |
- SV: Simple web app development Bryant Bunderson
- SV: Simple web app development Magnus Rydin
- Re: Simple web app development Bryant Bunderson