This weekend we’ve been trying to choose a hosting for our JSP site which we’ve been developing. We’ve had a hard time searching for the right hosting provider, a host which allows JSP sites, is reliable and cheap. After a lot of searching, we chose to try MochaHost. We found a lot of bad reviews all over the net, but despite we wanted to try them out, mostly because it is the cheapest hosting we found.
We’ve set up the servers and uploaded the sight, though we had a problem uploading it. There are some things you need to do before uploading a JSP site from NetBeans to MochaHost. Next are the steps…
- First you need to enable Tomcat and Apache on MochaHost by sending an email to their support.
- From NetBeans, you need to right click on the project and select ‘Deploy’
- When deploying you’re given a path where to find the deployed site
- In the deployed site, there has to be an important folder WEB-INF where all classes and servlets are deployed
- Copy all the files and folders from the build/web folder
- Paste in the FTP folder to upload the site (for Tomcat and Apache the folder would be public_html)
Hope this helped some people… will be posting a more detailed version of this post with images. I will also be monitoring MochaHost hosting and their support. Currently I just paid for the first month to test it out.
Happy JSPiiing! 🙂