Jump to content

Recommended Posts

Posted

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?

  • 2 weeks later...
Posted
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.

Posted
Posted Today, 08:31 PM

bayparkm, 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.

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...