RUNNING THE PRODUCT SERVLET FROM ORION Assuming you have done what is described in \orion\ejb\demo\install.txt Add the following lines to the files : /orion/config/default-web-site.xml <web-app application="ejbsamples" name="product" root="/product" /> /orion/config/server.xml <application name="ejbsamples" path="../demo/ejb" /> /orion/application-deployments/ejbsamples/orion-application.xml <web-module id="product" path="product" /> Create the file : /orion/ application-deployments/ejbsamples/product/orion-web.xml <?xml version="1.0"?> <!DOCTYPE orion-web-app PUBLIC "-//Evermind//DTD Orion Web Application 2.3//EN" "http://www.orionserver.com/dtds/orion-web.dtd"> <orion-web-app deployment-version="1.4.5" jsp-cache-directory="./persistence" temporary-directory="./temp" servlet-webdir="/servlet/" > <session-tracking /> </orion-web-app> Create the directory : /orion/ejb/demo/product/Web-inf/classes Move the ProductServlet.* stuff to this newly created directory. Add to the file : /orion/ejb/demo/Meta-inf/application.xml <module> <web> <web-uri>product</web-uri> <context-root>/product</context-root> </web> </module> Create the file : /orion/ejb/demo/product/Web-inf/web.xml <?xml version="1.0"?> <!DOCTYPE web-app PUBLIC "-//Sun Microsystems, Inc.//DTD Web Application 2.3//EN" "http://java.sun.com/j2ee/dtds/web-app_2_3.dtd"> <web-app> <servlet> <servlet-name>ProductServlet</servlet-name> <display-name>Product Servlet</display-name> <servlet-class>ProductServlet</servlet-class> </servlet> <login-config> <auth-method>BASIC</auth-method> </login-config> </web-app> Now you should be able to reach the servlet typing http://localhost/product/servlet/ProductServlet ______________________________________________________________________ Do You Yahoo!? Il tuo indirizzo gratis e per sempre @yahoo.it su http://mail.yahoo.it