Jump to content

Servlet Was Not Found On This Server


Recommended Posts

I use Johnny server with activated Java support.

 

I created a Java web app. I call a servlet by a link in the index.jsp

This is my web: http://danghh92.heliohost.org/

 

I run my app at localhost. There was no problem.

Then, I unzipped the war file. I uploaded all unzipped files to public_html folder.

 

The problem is:

I can get the index page. But when I click on the link to call servlet, the 404 error appear.

 

I have tested this app on another hosting. There was no problem.

 

How can I solve this problem?

Link to comment
Share on other sites

If you would like to deploy a .war file follow these steps:

  1. Create your account on Johnny http://www.heliohost.org/home/create-johnny-account
  2. Request Java to be enabled on your account http://www.helionet.org/index/forum/74-java-requests/
  3. Wait patiently and keep your account active, because Java can only be enabled on a finite number of account at a time, and you must wait in line to have it enabled. It can take up to a month to get Java enabled depending on how many other people are in line ahead of you.
  4. Once Java is enabled on your account upload your .war file to your home directory. Ex: /home/username/MyProject.war
  5. Request to have the .war file deployed by creating a new topic in Customer Service http://www.helionet.org/index/forum/45-customer-service/

Link to comment
Share on other sites

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