Here are the details:

1.  Created a directory called "test" under $ORION_HOME/demo.

2.  Placed the following HelloWorld.jsp file there.
 
Which looks like :
        <% out.println("Hello World"); %>


3.  Create a WEB-INF directory in the same directory as the HelloWorld.jsp file.
4.  Copy this web.xml file in the WEB-INF directory.
 
Which looks like:

<?xml version="1.0"?>
<!DOCTYPE web-application SYSTEM "web-application.dtd">

<web-app>
        <display-name>A Test</display-name>
        <description>
                A small demo web-app demonstrating
                web apps.
        </description>
        
        <welcome-file-list>
                <welcome-file>HelloWorld.jsp</welcome-file>
        </welcome-file-list>

</web-app>


5.  Modify your web-site.xml file so it has this entry:

<web-app root="/test">../demo/test/</web-app>

6.  type this into the browser window:

http://localhost/test

It should work unless I forgot something.
Sorry it took so long something came up yesterday.

HTH,
Abraham Kang 
<% out.println("Hello World"); %>

web.xml

Reply via email to