deepthot Posted November 7, 2012 Posted November 7, 2012 I have written a simple java servlet (test.class) and placed it in WEB-INF/classes I have also placed a web.xml file in WEB-INF with the following contents <?xml version="1.0" encoding="ISO-8859-1"?> <!DOCTYPE web-app PUBLIC "-//Sun Microsystems, Inc.//DTD Web Application 2.3//EN" "http://java.sun.com/dtd/web-app_2_3.dtd"> <web-app> <servlet> <servlet-name>test</servlet-name> <servlet-class>test</servlet-class> </servlet> <servlet-mapping> <servlet-name>test</servlet-name> <url-pattern>test</url-pattern> </servlet-mapping> </web-app> However when i go to http://spacehitchhiker42.heliohost.org/test, i get an HTTP 404 error. what am I doing wrong? Quote
bayparkm Posted November 20, 2012 Posted November 20, 2012 Which server are you on? From what I've seen in other posts, Stevie doesn't have Java support but Johnny does Quote
wolstech Posted November 21, 2012 Posted November 21, 2012 Stevie doesn't have Java support but Johnny does Correct. If you're on Stevie, you'll need to switch servers. Also, you have to request Java for your account in the Java Requests forum before it will work. Quote
Shinryuu Posted November 21, 2012 Posted November 21, 2012 Posted Today, 08:31 PMbayparkm, on 20 November 2012 - 01:02 PM, said: Stevie doesn't have Java support but Johnny doesCorrect. If you're on Stevie, you'll need to switch servers. Also, you have to request Java for your account in the Java Requests forum before it will work. you mean like this? http://www.helionet.org/index/topic/13845-request-for-java-deepthot/page__fromsearch__1 You should check this stuff first guys, I got nothing relevant to say though, java is not my thing. Quote
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.