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.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...