Getting JSP to work in 6.1
Jeff Hoffman <[email protected]> Wed, 28 Apr 2004 22:53:36 -0400
| Newsgroups | gmane.linux.redhat.ccm.general |
|---|---|
| Message-ID | <[email protected]> |
Hello, I am trying to get a "Hello, world!"-type JSP application up and running on 6.1. I have done the following: 1. Created a project called 'myjspapp'. 2. Placed a web.xml file in myjspapp/myjspapp/web/WEB-INF. 3. Created a loader to create an instance of my app on /ccm/myjspapp. 4. Tested that it worked with my own servlet, much like the Binder example's servlet (just a simple output.) 5. Changed to the JSPApplicationDispatcher in web.xml: ... <servlet> <servlet-name>myjspapp</servlet-name> <servlet-class>com.arsdigita.dispatcher.JSPApplicationDispatcher</servlet-class> </servlet> <servlet-mapping> <servlet-name>myjspapp</servlet-name> <url-pattern>/*</url-pattern> </servlet-mapping> ... 6. Placed a JSP file in myjspapp/myjspapp/web/index.jsp 7. I get the following error when pulling /ccm/myjspapp/index.jsp: 404 Not Found /myjspapp/__ccm__/servlet/legacy-adapter/ was not found on this server. Any ideas? Thanks. --- Jeff K. Hoffman Chief Technology Officer Planned Giving Design Center -- Redhat-ccm-list mailing list [email protected] https://www.redhat.com/mailman/listinfo/redhat-ccm-list Archives: https://www.redhat.com/pipermail/redhat-ccm-list/