hahahaidang Posted October 21, 2013 Posted October 21, 2013 I use Johnny server with activated Java support. I created a Java web app. I call a servlet by a link in the index.jspThis 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?
Krydos Posted October 21, 2013 Posted October 21, 2013 If you would like to deploy a .war file follow these steps:Create your account on Johnny http://www.heliohost.org/home/create-johnny-accountRequest Java to be enabled on your account http://www.helionet.org/index/forum/74-java-requests/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.Once Java is enabled on your account upload your .war file to your home directory. Ex: /home/username/MyProject.warRequest to have the .war file deployed by creating a new topic in Customer Service http://www.helionet.org/index/forum/45-customer-service/
hahahaidang Posted October 22, 2013 Author Posted October 22, 2013 It means that I just can use JSP without Servlet class if I upload by ftp protocol, doesn't it? Thank you so much for the answer.
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now